home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / MPW-PR / MPW / MPW.Help < prev    next >
Encoding:
Text File  |  1998-12-16  |  226.1 KB  |  4,207 lines  |  [TEXT/MPS ]

  1. MPW Help Summaries -- Pre-release
  2.  
  3. Copyright Apple Computer, Inc. 1986-1998
  4.     All rights reserved.
  5.  
  6.  
  7.     Help summaries are available for each of the MPW commands.  
  8.     To see the list of all commands enter "Help Commands".  To see
  9.     a partial list of commands, e.g., those relating to compilers, enter
  10.     "Help Languages".  Some commands may appear in more than one category.
  11.     In addition, brief descriptions of Expressions, Patterns, Selections,
  12.     Characters, Shortcuts, and Variables are also included.
  13.  
  14.     To see Help summaries, enter a command such as
  15.  
  16.     Help Commands       # a list of all commands
  17.     Help Editing        # a list of commands useful for editing
  18.     Help FileSystem     # a list of commands relating to files, directories, and volumes
  19.     Help Languages      # a list of compiler/assembler names
  20.     Help Miscellaneous  # a list of commands useful for software development
  21.     Help Projector      # a list of commands in Projector, a project/source control system
  22.     Help Resources      # a list of commands useful in processing resources
  23.     Help Scripting      # a list of commands useful primarily within scripts
  24.     Help System         # a list of commands that perform system functions
  25.     Help Window         # a list of commands pertaining to windows
  26.  
  27.     Help CFM-68K        # a list of commands useful for CFM-68K development
  28.     Help PowerMacintosh # a list of commands useful for Power Macintosh development
  29.  
  30.     Help Launch         # information on launching applications from the Shell
  31.     Help Variables      # summary of the standard MPW shell variables
  32.     Help Characters     # summary of MPW Shell special characters
  33.     Help Expressions    # summary of expressions
  34.     Help Selections     # summary of selections
  35.     Help Patterns       # summary of patterns (regular expressions)
  36.     Help Shortcuts      # summary of MPW Shell shortcuts
  37.     
  38. -
  39. Commands
  40.     This is a full alphabetic list of all commands in MPW.  This includes built-in
  41.     commands, commands that are implemented as scripts, and commands that are 
  42.     implemented as tools.  To get details, enter a command such as
  43.     
  44.     Help AddMenu        # add a menu item
  45.     Help AddPane        # split the window into panes
  46.     Help Adjust         # adjust lines
  47.     Help Alert          # display an alert box
  48.     Help Alias          # define or write command aliases
  49.     Help Align          # align text to left margin
  50.     Help Asm            # MC68xxx Macro Assembler
  51.     Help ATags          # create a tag file based on Asm source code
  52.     Help AuthorInfo     # print information about the authors in a project
  53.     Help Backup         # folder file backup
  54.     Help Beep           # generate tones
  55.     Help Begin          # group commands
  56.     Help Break          # break from For or Loop
  57.     Help Browser        # invoke Marker Browser
  58.     Help BuildCommands  # show build commands
  59.     Help BuildMenu      # create the Build menu
  60.     Help BuildProgram   # build the specified program
  61.     Help Canon          # canonical spelling tool
  62.     Help Catenate       # concatenate files
  63.     Help CheckIn        # check a file into a project
  64.     Help CheckOut       # check a file out from a project
  65.     Help CheckOutDir    # specify the directory where checked out files will be placed
  66.     Help Choose         # choose or list network file server volumes and printers
  67.     Help Clear          # clear the selection
  68.     Help Close          # close specified windows
  69.     Help CMarker        # generate Mark commands for C and C++ function definitions
  70.     Help Commando       # present a dialog interface for commands
  71.     Help Compare        # compare text files
  72.     Help CompareFiles   # compare text files and interactively view differences
  73.     Help CompareRevisions # compare two revisions of a file in a project
  74.     Help Confirm        # display a confirmation dialog box
  75.     Help Continue       # continue with next iteration of For or Loop
  76.     Help Copy           # copy selection to Clipboard
  77.     Help Count          # count lines and characters
  78.     Help CreateMake     # create a simple makefile
  79.     Help CTags          # create a tag file based on C source code
  80.     Help Cut            # copy selection to Clipboard and delete it
  81.     Help Date           # write the date and time
  82.     Help Delete         # delete files and directories
  83.     Help DeleteMenu     # delete user-defined menus and menu items
  84.     Help DeleteNames    # delete user-defined symbolic names
  85.     Help DeletePane     # delete panes from the window
  86.     Help DeleteRevisions # delete previous revisions of files in a project
  87.     Help DeRez          # resource decompiler
  88.     Help Directory      # set or write the default directory
  89.     Help DirectoryMenu  # create the Directory menu
  90.     Help DoIt           # highlight and execute a series of shell commands
  91.     Help DumpCode       # write formatted CODE resources
  92.     Help DumpFile       # display contents of any file
  93.     Help DumpObj        # write formatted object file
  94.     Help DumpPEF        # dump formatted PEF file
  95.     Help DumpSYM        # dump formatted SYM or xSYM file
  96.     Help DumpXCOFF      # write formatted XCOFF file
  97.     Help Duplicate      # duplicate files and directories
  98.     Help DuplicateNameRevisions   # duplicate symbolic names
  99.     Help Echo           # echo parameters
  100.     Help Eject          # eject volumes
  101.     Help Entab          # convert runs of spaces to tabs
  102.     Help Equal          # compare files and directories
  103.     Help Erase          # initialize volumes
  104.     Help Evaluate       # evaluate an expression
  105.     Help Execute        # execute command file in the current scope
  106.     Help Exists         # confirm the existence of a file or directory
  107.     Help Exit           # exit from a command file
  108.     Help Export         # make variables available to commands
  109.     Help FileDiv        # divide a file into several smaller files
  110.     Help Files          # list files and directories
  111.     Help Find           # find and select a text pattern
  112.     Help FindTag        # output data associated with tag
  113.     Help Flush          # flush the tools that the Shell has cached
  114.     Help FlushAllVolumes # write cached File Manager data structures to disk
  115.     Help For            # repeat commands once per parameter
  116.     Help Format         # set or display formatting options for a window
  117.     Help Gestalt        # output information about the operating environment
  118.     Help Get            # get a record from an indexed file 
  119.     Help GetErrorText   # display error messages based on message number
  120.     Help GetFileName    # display a Standard File dialog box
  121.     Help GetListItem    # display items for selection in a dialog box
  122.     Help Help           # write summary information
  123.     Help HideWindows    # hide specified windows
  124.     Help If             # conditional command execution
  125.     Help ILink          # incrementally link an application, tool, shared library or resource
  126.     Help ILinkToSYM     # generate .SYM file from ILink state file
  127.     Help Lib            # combine object files into a library file
  128.     Help Line           # find line in the target window
  129.     Help Link           # link an application, tool, or resource
  130.     Help LockNameRevisions   # lock a symbolic name
  131.     Help Loop           # repeat commands until Break
  132.     Help Make           # build up-to-date version of a program
  133.     Help MakeDepend     # generate makefile dependencies for "include" files
  134.     Help MakeErrorFile  # create error message textfile
  135.     Help MakeFlat       # flatten a segmented shared library created by ILink 
  136.     Help MakePEF        # XCOFF to PEF converter
  137.     Help MakePPCCodeRsrc # create a PowerPC code resource from a PEF file
  138.     Help MakeStub       # create a PowerPC, CFM-68K or fat stub library
  139.     Help MakeSYM        # extract SYM information from XCOFF
  140.     Help Mark           # assign a marker to a selection
  141.     Help Markers        # list markers
  142.     Help MatchIt        # semi-intelligent language sensitive bracket matcher
  143.     Help MergeBranch    # merge a branch revision onto the trunk
  144.     Help MergeFragment  # merge code fragments
  145.     Help ModifyReadOnly # enables a read-only Projector file to be edited
  146.     Help ModPEF         # extract, delete and/or modify PEF fragments
  147.     Help Monitors       # list monitor rectangle(s)
  148.     Help Mount          # mount volumes
  149.     Help MountProject   # mount projects
  150.     Help Move           # move files and directories
  151.     Help MoveWindow     # move window to h,v location
  152.     Help MrC            # C Compiler for Macintosh On RISC
  153.     Help MrCpp          # C++ Compiler for Macintosh On RISC
  154.     Help MrPlus         # Post-link analysis of a Macintosh PowerPC™ executable for code 
  155.                         #   coverage or performance
  156.     Help MultiSearch    # find multiple patterns in text files in a directory tree
  157.     Help NameRevisions  # define a symbolic name
  158.     Help New            # open a new window
  159.     Help Newer          # compare modification dates of files
  160.     Help NewFolder      # create a new folder
  161.     Help NewKeyMap      # create alternate keyboard editor assignments
  162.     Help NewProject     # create a new project
  163.     Help ObsoleteNameRevisions  # mark a symbolic name obsolete
  164.     Help ObsoleteProjectorFile  # make a Projector file inactive
  165.     Help Open           # open file(s) in window(s)
  166.     Help OrphanFiles    # remove Projector information from a list of files
  167.     Help Parameters     # write parameters
  168.     Help Pascal         # Pascal compiler
  169.     Help PasMat         # Pascal programs formatter
  170.     Help PasRef         # Pascal cross-referencer
  171.     Help Paste          # replace selection with Clipboard contents
  172.     Help PerformReport  # generate a performance report
  173.     Help PlaySound      # play a sound ('snd ') resource
  174.     Help PopTag         # fetch top of FindTag stack
  175.     Help Position       # display current line position
  176.     Help PPCAsm         # PowerPC™ 60x Assembler
  177.     Help PPCLink        # link a PowerPC application, tool, shared library or static library
  178.     Help PPCProff       # analyze a .pgh file and display the results
  179.     Help Print          # print text files
  180.     Help PrintProff     # analyze a .proff file and print the results
  181.     Help ProcNames      # display Pascal procedure and function names
  182.     Help Project        # set or write the current project
  183.     Help ProjectInfo    # display information about a Project
  184.     Help Quit           # quit MPW
  185.     Help Quote          # echo parameters, quoting if needed
  186.     Help Redo           # reverse previous Undo series (if {AllowMultipleUndo} = 1)
  187.     Help Rename         # rename files and directories
  188.     Help RenameProjectorFile    # give Projector file a new name
  189.     Help Replace        # replace the selection
  190.     Help Request        # request text from a dialog box
  191.     Help ResEqual       # compares the resources in two files
  192.     Help ResolveAlias   # resolve aliases in pathname
  193.     Help Revert         # revert window to previous saved state
  194.     Help Rez            # resource compiler
  195.     Help RezDet         # detect inconsistencies in resources
  196.     Help RotatePanes    # make another window pane the active pane
  197.     Help RotateWindows  # send active (frontmost) window to back
  198.     Help RProj          # send Projector command to SourceServer
  199.     Help RShell         # send a command to a "remote" shell
  200.     Help Save           # save specified windows
  201.     Help SaveOnClose    # set save behavior when closing windows
  202.     Help SC             # Symantec C compiler
  203.     Help SCpp           # Symantec C++ compiler
  204.     Help SCPre          # Symantec C/C++ preprocessor
  205.     Help Search         # search files for pattern
  206.     Help SendAE         # Send Apple Event to application
  207.     Help Set            # define or write Shell variables
  208.     Help SetDirectory   # set the default directory
  209.     Help SetFile        # set file attributes
  210.     Help SetKey         # define or write key bindings
  211.     Help SetPrivilege   # set access privileges for directories on file servers
  212.     Help SetShellSize   # set the shell's stack and Process Manager partition sizes 
  213.     Help SetVersion     # maintain version and revision number
  214.     Help Shift          # renumber command file positional parameters
  215.     Help shlb2stub      # create a stub ('stub') library from a shared ('shlb') library
  216.     Help ShowSelection  # place the selection within an editor window
  217.     Help ShowWindows    # make previous hidden windows visible
  218.     Help Shutdown       # power down or restart the machine
  219.     Help SizeWindow     # set a window's size
  220.     Help SOMC           # SOM idl compiler
  221.     Help SOMpdl         # sanitize .idl file(s) for public consumption
  222.     Help Sort           # sort or merge lines of text
  223.     Help StackWindows   # arrange windows diagonally
  224.     Help StreamEdit     # scriptable text editor
  225.     Help Target         # make a window the target window
  226.     Help TickCount      # returns current system Tick Count
  227.     Help TileWindows    # arrange windows in a tiled fashion
  228.     Help TransferCkid   # move Projector information from one file to another
  229.     Help Translate      # translate characters
  230.     Help Unalias        # remove aliases
  231.     Help Undo           # undo the last edit (or edits if {AllowMultipleUndo} = 1)
  232.     Help Unexport       # remove variable definitions from the export list
  233.     Help UnlockNameRevisions   # unlock a symbolic name
  234.     Help Unmangle       # unmangle mangled C++ names
  235.     Help Unmark         # remove a marker from a window
  236.     Help Unmount        # unmount volumes
  237.     Help UnmountProject # unmount projects
  238.     Help UnobsoleteNameRevisions    # mark a symbolic name not obsolete
  239.     Help UnObsoleteProjectorFile    # make an inactive Projector file active again
  240.     Help Unset          # remove Shell variable definitions
  241.     Help UnsetKey       # remove key bindings
  242.     Help UpdateProjectorDatabase     # update Projector database to latest version
  243.     Help UserVariables  # uses Commando to set all the user variables
  244.     Help Version        # print the version of the MPW Shell
  245.     Help VersionList    # print version info from files
  246.     Help Volumes        # list mounted volumes
  247.     Help WhereIs        # find the location of a file
  248.     Help Which          # determine which file the shell will execute
  249.     Help Windows        # list windows
  250.     Help ZoomWindow     # enlarge or reduce a window's size
  251.     
  252. -
  253. Editing
  254.     The commands in this list are primarily useful for the editing of files.
  255.     To get details, enter a command such as
  256.     
  257.     Help Adjust         # adjust lines
  258.     Help Align          # align text to left margin
  259.     Help ATags          # create a tag file based on Asm source code
  260.     Help Canon          # canonical spelling tool
  261.     Help Clear          # clear the selection
  262.     Help CompareFiles   # compare text files and interactively view differences
  263.     Help Copy           # copy selection to Clipboard
  264.     Help CTags          # create a tag file based on C source code
  265.     Help Cut            # copy selection to Clipboard and delete it
  266.     Help Entab          # convert runs of spaces to tabs
  267.     Help FileDiv        # divide a file into several smaller files
  268.     Help Find           # find and select a text pattern
  269.     Help FindTag        # output data associated with tag
  270.     Help Format         # set or display formatting options for a window
  271.     Help Line           # find line in the target window
  272.     Help Mark           # assign a marker to a selection
  273.     Help Markers        # list markers
  274.     Help MatchIt        # semi-intelligent language sensitive bracket matcher
  275.     Help NewKeyMap      # create alternate keyboard editor assignments      
  276.     Help Paste          # replace selection with Clipboard contents
  277.     Help Redo           # reverse previous Undo series (if {AllowMultipleUndo} = 1)
  278.     Help Replace        # replace the selection
  279.     Help ShowSelection  # place the selection within an editor window
  280.     Help SetKey         # define or write key bindings
  281.     Help StreamEdit     # scriptable text editor
  282.     Help Translate      # translate characters
  283.     Help Undo           # undo the last edit (or edits if {AllowMultipleUndo} = 1)
  284.     Help Unmark         # remove a marker from a window
  285.     Help UnsetKey       # remove key bindings
  286.     
  287. -
  288. FileSystem
  289.     The commands in this list relate to the manipulation of files and volumes.
  290.     To get details, enter a command such as
  291.     
  292.     Help Catenate       # concatenate files
  293.     Help Close          # close specified windows
  294.     Help Compare        # compare text files
  295.     Help CompareFiles   # compare text files and interactively view differences
  296.     Help Count          # count lines and characters
  297.     Help Delete         # delete files and directories
  298.     Help Directory      # set or write the default directory
  299.     Help DumpFile       # display contents of any file
  300.     Help Duplicate      # duplicate files and directories
  301.     Help Equal          # compare files and directories
  302.     Help Erase          # initialize volumes
  303.     Help Exists         # confirm the existence of a file or directory
  304.     Help FileDiv        # divide a file into several smaller files
  305.     Help Files          # list files and directories
  306.     Help Move           # move files and directories
  307.     Help Mount          # mount volumes
  308.     Help MultiSearch    # find multiple patterns in text files in a directory tree
  309.     Help New            # open a new window
  310.     Help Newer          # compare modification dates of files
  311.     Help NewFolder      # create a new folder
  312.     Help Open           # open file(s) in window(s)
  313.     Help Position       # display current line position
  314.     Help Print          # print text files
  315.     Help Rename         # rename files and directories
  316.     Help ResolveAlias   # resolve aliases in pathname
  317.     Help Save           # save specified windows
  318.     Help Search         # search files for pattern
  319.     Help SetDirectory   # set the default directory
  320.     Help SetFile        # set file attributes
  321.     Help SetPrivilege   # set access privileges for directories on file servers
  322.     Help SetVersion     # maintain version and revision number
  323.     Help Target         # make a window the target window
  324.     Help Unmount        # unmount volumes
  325.     Help Volumes        # list mounted volumes
  326.     Help WhereIs        # find the location of a file
  327.     
  328. -
  329. Languages
  330.     The commands in this group relate to various language processors.
  331.     To get details, enter a command such as
  332.     
  333.     Help Asm            # MC68xxx Macro Assembler
  334.     Help MrC            # C Compiler for Macintosh On RISC
  335.     Help MrCpp          # C++ Compiler for Macintosh On RISC
  336.     Help Pascal         # Pascal compiler
  337.     Help PPCAsm         # PowerPC 60x Assembler
  338.     Help SC             # Symantec C compiler
  339.     Help SCpp           # Symantec C++ compiler
  340.     Help SCPre          # Symantec C/C++ preprocessor
  341.     Help SOMC           # SOM idl compiler
  342.     Help SOMpdl         # sanitize .idl file(s) for public consumption
  343.  
  344. -
  345. Miscellaneous
  346.     The following commands are a conglomeration of miscellaneous utilities
  347.     and tools that are of use in the software construction process.  To get details,
  348.     enter a command such as
  349.     
  350.     Help Backup         # folder file backup
  351.     Help BuildCommands  # show build commands
  352.     Help BuildMenu      # create the Build menu
  353.     Help BuildProgram   # build the specified program
  354.     Help CMarker        # generate Mark commands for C and C++ function definitions
  355.     Help Commando       # present a dialog interface for commands
  356.     Help CreateMake     # create a simple makefile
  357.     Help DeRez          # resource decompiler
  358.     Help DumpCode       # write formatted CODE resources
  359.     Help DumpObj        # write formatted object file
  360.     Help DumpPEF        # dump formatted PEF file
  361.     Help DumpSYM        # dump formatted SYM or xSYM file
  362.     Help DumpXCOFF      # write formatted XCOFF file
  363.     Help ILink          # incrementally link an application, tool, shared library or resource
  364.     Help ILinkToSYM     # generate .SYM file from ILink state file
  365.     Help Lib            # combine object files into a library file
  366.     Help Link           # link an application, tool, or resource
  367.     Help Make           # build up-to-date version of a program
  368.     Help MakeDepend     # generate makefile dependencies for "include" files
  369.     Help MakeErrorFile  # create error message textfile
  370.     Help MakeFlat       # flatten a segmented shared library created by ILink
  371.     Help MakePPCCodeRsrc # create a PowerPC code resource from a PEF file
  372.     Help MakeStub       # create a PowerPC, CFM-68K or fat stub library
  373.     Help ModPEF         # extract, delete and/or modify PEF fragments
  374.     Help PerformReport  # generate a performance report
  375.     Help PPCLink        # link a PowerPC application, tool, shared library or static library
  376.     Help PPCProff       # analyze a .pgh file and display the results
  377.     Help ProcNames      # display Pascal procedure and function names
  378.     Help Rez            # resource compiler
  379.     Help RezDet         # detect inconsistencies in resources
  380.     Help SetVersion     # maintain version and revision number
  381.     Help shlb2stub      # create a stub ('stub') library from a shared ('shlb') library
  382.     Help Sort           # sort or merge lines of text
  383.     Help VersionList    # print version info from files
  384.     
  385. -
  386. Projector
  387.     Projector is a collection of built-in MPW commands and windows that
  388.     help programmers (both individuals and teams) control and account for
  389.     changes to all the files (documentation, source, applications etc.)
  390.     associated with a software project.
  391.     
  392.     Here is a brief summary of the commands (the CheckIn, CheckOut, and
  393.     NewProject commands also have windows that can be opened using the
  394.     “-w” option to the respective command).  For help, enter a command such as
  395.     
  396.     Help AuthorInfo                 # print information about the authors in a project
  397.     Help CheckIn                    # check a file into a project
  398.     Help CheckOut                   # check a file out from a project
  399.     Help CheckOutDir                # specify the directory where checked out files will be placed
  400.     Help CompareRevisions           # compare two revisions of a file in a project
  401.     Help DeleteNames                # delete user-defined symbolic names
  402.     Help DeleteRevisions            # delete previous revisions of files in a project
  403.     Help DuplicateNameRevisions     # duplicate symbolic names
  404.     Help LockNameRevisions          # lock a symbolic name
  405.     Help MergeBranch                # merge a branch revision onto the trunk
  406.     Help ModifyReadOnly             # enables a read-only Projector file to be edited
  407.     Help MountProject               # mount projects
  408.     Help NameRevisions              # define a symbolic name
  409.     Help NewProject                 # create a new project
  410.     Help ObsoleteNameRevisions      # mark a symbolic name obsolete
  411.     Help ObsoleteProjectorFile      # make a Projector file inactive
  412.     Help OrphanFiles                # remove Projector information from a list of files
  413.     Help Project                    # set or write the current project
  414.     Help ProjectInfo                # display information about a Project
  415.     Help RenameProjectorFile        # give Projector file a new name
  416.     Help RProj                      # send Projector command to SourceServer
  417.     Help TransferCkid               # move Projector information from one file to another
  418.     Help UnlockNameRevisions        # unlock a symbolic name
  419.     Help UnmountProject             # unmount projects
  420.     Help UnobsoleteNameRevisions    # mark a symbolic name not obsolete
  421.     Help UnObsoleteProjectorFile    # make an inactive Projector file active again
  422.     Help UpdateProjectorDatabase    # update Projector database to latest version    
  423.  
  424. -
  425. Resources
  426.     The following commands are used to process resources.  For details,
  427.     enter a command such as
  428.     
  429.     Help DeRez          # resource decompiler
  430.     Help ResEqual       # compares the resources in two files
  431.     Help Rez            # resource compiler
  432.     Help RezDet         # detect inconsistencies in resources
  433.     
  434. -
  435. Scripting
  436.     The commands in this list are particularly useful within scripts.  
  437.     To get details, enter a command such as
  438.     
  439.     Help AddMenu        # add a menu item
  440.     Help Alert          # display an alert box
  441.     Help Alias          # define or write command aliases
  442.     Help Beep           # generate tones
  443.     Help Begin          # group commands
  444.     Help Break          # break from For or Loop
  445.     Help Confirm        # display a confirmation dialog box
  446.     Help Continue       # continue with next iteration of For or Loop
  447.     Help Date           # write the date and time
  448.     Help DeleteMenu     # delete user-defined menus and menu items
  449.     Help DirectoryMenu  # create the Directory menu
  450.     Help DoIt           # highlight and execute a series of shell commands
  451.     Help Echo           # echo parameters
  452.     Help Evaluate       # evaluate an expression
  453.     Help Execute        # execute command file in the current scope
  454.     Help Exists         # confirm the existence of a file or directory
  455.     Help Exit           # exit from a command file
  456.     Help Export         # make variables available to commands
  457.     Help For            # repeat commands once per parameter
  458.     Help GetFileName    # display a Standard File dialog box
  459.     Help GetListItem    # display items for selection in a dialog box
  460.     Help If             # conditional command execution
  461.     Help Loop           # repeat commands until Break
  462.     Help Parameters     # write parameters
  463.     Help PlaySound      # play a sound ('snd ') resource
  464.     Help Quote          # echo parameters, quoting if needed
  465.     Help Request        # request text from a dialog box
  466.     Help ResolveAlias   # resolve aliases in pathname
  467.     Help RShell         # send a command to a "remote" shell
  468.     Help Set            # define or write Shell variables
  469.     Help Shift          # renumber command file positional parameters
  470.     Help Unexport       # remove variable definitions from the export list
  471.     Help Unset          # remove Shell variable definitions
  472.     
  473. -
  474. System
  475.     The following commands provide direct access from MPW to certain system
  476.     functions.  For help, enter a command such as
  477.     
  478.     Help Choose         # choose or list network file server volumes and printers
  479.     Help Date           # write the date and time
  480.     Help Gestalt        # output information about the operating environment
  481.     Help GetErrorText   # display error messages based on message number
  482.     Help SetPrivilege   # set access privileges for directories on file servers
  483.     Help Shutdown       # power down or restart the machine
  484.     Help TickCount      # returns current system Tick Count
  485.     
  486. -
  487. Window
  488.     The following commands are used to manipulate windows.  For details, 
  489.     enter a command such as
  490.     
  491.     Help AddPane        # split the window into panes
  492.     Help Close          # close specified windows
  493.     Help DeletePane     # delete panes from the window
  494.     Help Format         # set or display formatting options for a window
  495.     Help HideWindows    # hide specified windows
  496.     Help MoveWindow     # move window to h,v location
  497.     Help New            # open a new window
  498.     Help Open           # open file(s) in window(s)
  499.     Help RotatePanes    # make another window pane the active pane
  500.     Help RotateWindows  # send active (frontmost) window to back
  501.     Help Save           # save specified windows
  502.     Help SaveOnClose    # set save behavior when closing windows
  503.     Help ShowSelection  # place the selection within an editor window
  504.     Help ShowWindows    # make previous hidden windows visible
  505.     Help SizeWindow     # set a window's size
  506.     Help StackWindows   # arrange windows diagonally
  507.     Help Target         # make a window the target window
  508.     Help TileWindows    # arrange windows in a tiled fashion
  509.     Help Windows        # list windows
  510.     Help ZoomWindow     # enlarge or reduce a window's size
  511.  
  512. -
  513. CFM-68K
  514.     The following commands are used for CFM-68K development.  For details, 
  515.     enter a command such as
  516.     
  517.     Help Asm                # MC68xxx Macro Assembler
  518.     Help DumpCode           # write formatted CODE resources
  519.     Help DumpObj            # write formatted object file
  520.     Help DumpPEF            # dump formatted PEF file
  521.     Help DumpSYM            # dump formatted SYM or xSYM file
  522.     Help ILink              # incrementally link an application, tool, shared library or resource
  523.     Help ILinkToSYM         # generate .SYM file from ILink state file
  524.     Help Lib                # combine object files into a library file
  525.     Help MakeFlat           # flatten a segmented shared library created by ILink
  526.     Help MakeStub           # create a PowerPC, CFM-68K or fat stub library
  527.     Help MergeFragment      # merge code fragments
  528.     Help ModPEF             # extract, delete and/or modify PEF fragments
  529.     Help SC                 # Symantec C compiler
  530.     Help SCpp               # Symantec C++ compiler 
  531.     Help shlb2stub          # create a stub ('stub') library from a shared ('shlb') library
  532.  
  533. -
  534. PowerMacintosh
  535.     The following commands are used for Power Macintosh development.  For details,
  536.     enter a command such as
  537.     
  538.     Help DumpPEF            # dump formatted PEF file
  539.     Help DumpXCOFF          # write formatted XCOFF file
  540.     Help MakePEF            # XCOFF to PEF converter
  541.     Help MakePPCCodeRsrc    # create a PowerPC code resource from a PEF file
  542.     Help MakeStub           # create a PowerPC, CFM-68K or fat stub library
  543.     Help MakeSYM            # extract SYM information from XCOFF
  544.     Help MergeFragment      # merge code fragments
  545.     Help ModPEF             # extract, delete and/or modify PEF fragments
  546.     Help MrC                # C Compiler for Macintosh On RISC
  547.     Help MrCpp              # C++ Compiler for Macintosh On RISC
  548.     Help MrPlus             # Post-link analysis of a Macintosh PowerPC™ executable for code 
  549.                             #   coverage or performance
  550.     Help PPCAsm             # PowerPC 60x Assembler
  551.     Help PPCLink            # link a PowerPC application, tool, shared library or static library
  552.     Help PPCProff           # analyze a .pgh file and display the results
  553.     Help shlb2stub          # create a stub ('stub') library from a shared ('shlb') library
  554.  
  555. -
  556. Launch
  557.  
  558. The command line used by MPW to launch an application consists of the name or path
  559. of the application and, optionally, a list of files and command line options.
  560.  
  561. A command line consisting of an application name will cause the application to be
  562. launched in the foreground.  If the application is already running, it will be
  563. brought to the foreground.
  564.  
  565. Any files listed on the command line will be opened by the application if it is 
  566. capable of opening them.  If the command line option -print is specified, the files
  567. will be printed instead of opened and the application will quit when it has finished
  568. printing the documents (unless it was already running).  (In previous versions of
  569. MPW, this option was -p.)
  570.  
  571. The following options are recognized:
  572.  
  573.     -print                  # print any files listed on the command line.
  574.     -background             # launch the application in the background
  575.     -quit                   # cause a running application to quit
  576.     -wait                   # delay resumption of Shell commands until the
  577.                             # application has quit
  578.     
  579. -
  580. Variables
  581.     To see the current value, enter a command such as Echo {<var name>}
  582.     
  583.     Variables defined by the MPW Shell:
  584.     
  585.     Echo {Active}           # full pathname of current active window
  586.     Echo {Aliases}          # list of all defined aliases
  587.     Echo {Boot}             # volume name of the boot disk
  588.     Echo {Command}          # full pathname of the last command executed
  589.     Echo {MPW}              # full pathname of the Macintosh Programmer's Workshop.
  590.     Echo {ShellDirectory}   # full pathname of the directory that contains the MPW Shell
  591.     Echo {Status}           # result of the last command executed (0 means successful)
  592.     Echo {SystemFolder}     # full pathname of the system folder
  593.     Echo {Target}           # full pathname of the target window
  594.     Echo {User}             # the current user name (initialized to the “Chooser” name)
  595.     Echo {Windows}          # list of current windows   
  596.     Echo {Worksheet}        # full pathname of the Worksheet window
  597.     
  598.     Variables used by the MPW Shell:
  599.     
  600.     Echo {AllowCmdsOnlyInWorkSheet}  # control behavior of "Enter" key in non-Worksheet windows
  601.     Echo {AllowColorizing}  # provide color coding of syntax categories
  602.     Echo {AllowColorUserExperience}  # control platinum appearance
  603.     Echo {AllowDraggingOut} # provide drag and drop
  604.     Echo {AllowForeignFileSupport} # provide dos and unix file support
  605.     Echo {AllowMultipleUndo} # provide stacked multiple undo and redo
  606.     Echo {AllowWhiteSpaceDelimiter} # provide double clicking on space and tab characters 
  607.     Echo {AutoIndent}       # auto indent setting used for new windows
  608.     Echo {CaseSensitive}    # control case sensitivity for searching
  609.     Echo {Commando}         # name of the commando tool
  610.     Echo {Commands}         # list of directories to search for commands
  611.     Echo {CursorForDragging} # set cursor used while dragging
  612.     Echo {DirectoryPath}    # list of common directories to speed changing directories
  613.     Echo {DynaScroll}       # control dynamic scrolling in windows
  614.     Echo {Echo}             # control the echoing of commands to diagnostic output
  615.     Echo {Exit}             # control script termination based on {Status}
  616.     Echo {ExtendWordSet}    # control behavior of cursor movement across word boundaries
  617.     Echo {Font}             # font used for new windows
  618.     Echo {FontSize}         # font size used for new windows
  619.     Echo {HeapCheck}        # control heap checking before and after tool call
  620.     Echo {HideHelpKey}      # deactivate "help" key on extended keyboard
  621.     Echo {IgnoreCmdPeriod}  # control use of cmd-. during critical sections
  622.     Echo {InhibitMarkCopy}  # control whether Marks are copied with the Edit:Copy menu command
  623.     Echo {NewKeyboardLayout}# control keyboard layout
  624.     Echo {NewWindowRect}    # window rectangle used for new windows (top, left, bottom, right)
  625.     Echo {PrefsFolder}      # contains path to location to be searched first for 
  626.                             #  startup, quit, worksheet, etc. files
  627.     Echo {PrintOptions}     # options used by the print menu commands
  628.     Echo {ScreenUpdateDelay} # control frequency of status box and cursor update
  629.     Echo {SearchBackward}   # control direction of searching
  630.     Echo {SearchType}       # control type of searching (literal/word/expression)
  631.     Echo {SearchWrap}       # control wrap-around search
  632.     Echo {StackOptions}     # options used by the Stack Windows menu command
  633.     Echo {SysTempFolder}    # contains path to system-defined location for temporary storage
  634.     Echo {Tab}              # tab size used for new windows
  635.     Echo {TempFolder}       # contains path to location to be used for temporary storage
  636.     Echo {Test}             # control execution of tools and applications
  637.     Echo {TileOptions}      # options used by the Tile Windows menu command
  638.     Echo {ToolSleepTime}    # value is passed to WaitNextEvent while command is running
  639.     Echo {TraceFailures}    # control sending of diagnostic message on abnormal
  640.                             #  termination of script
  641.     Echo {UseStandardFile}  # use Standard File vs. Navigation Services dialogs
  642.     Echo {WordSet}          # set of characters that constitute a word
  643.     Echo {ZoomHeight}       # height to which window is to zoom (ZoomWindowRect not set)
  644.     Echo {ZoomWidth}        # width to which window is to zoom (ZoomWindowRect not set)
  645.     Echo {ZoomWindowRect}   # window rectangle used for a zoomed window (top, left, bottom, right)
  646.     
  647.     Variables automatically set before script execution:
  648.     
  649.     {0}                 name of the currently executing script
  650.     {1}, {2}, … {n}     first, second, and nth parameter to the script
  651.     {#}                 number of parameters
  652.     {Parameters}        equivalent to {1} {2} … {n}
  653.     {"Parameters"}      equivalent to "{1}" "{2}" … "{n}"
  654.     
  655.     Variables used for libraries and include files:
  656.     
  657.     Echo {AIncludes}        # directories to search for assembly-language include files
  658.     Echo {CFM68KLibraries}  # directory containing CFM-68K runtime library files
  659.     Echo {CIncludes}        # directories to search for C include files
  660.     Echo {CLibraries}       # directory containing C library files 
  661.     Echo {Libraries}        # directory containing Classic 68K runtime library files
  662.     Echo {PInterfaces}      # directory containing Pascal interface files
  663.     Echo {PPCLibraries}     # directory containing PowerPC library files
  664.     Echo {PLibraries}       # directory containing Pascal library files
  665.     Echo {RIncludes}        # directory containing Rez include files
  666.     Echo {SharedLibraries}  # directory containing shared library files
  667.     Echo {SMIncludes}       # standard path for .idl include files
  668.     Echo {SMDefines}        # standard defines for somc
  669.     Echo {SMOptions}        # standard options
  670.  
  671. -
  672. Characters
  673.  
  674.     The characters listed below have special meanings in the command language.
  675.  
  676.  
  677.     Space           Space separates words.
  678.     Tab             Tab also separates words.
  679.  
  680.     Return          Return separates commands.
  681.     ;               Semicolon also separates commands.
  682.     |               Pipe separates commands and pipes output to input.
  683.     &&              And separates commands, executing second if first succeeds.
  684.     ||              Or separates commands, executing second if first fails.
  685.     (…)             Parenthesis group commands.
  686.                     Parenthesis also group characters in filename patterns.
  687.  
  688.     #               Comment begins comments.
  689.  
  690.     ∂               Escape (Option-D) quotes the following character.
  691.     '…'             Single quote quotes all other characters.
  692.     "…"             Double quote quotes all characters except ∂, {, and `.
  693.     /…/             Slash quotes all characters except ∂, {, and `.
  694.     \…\             Backslash quotes all characters except ∂, {, and `.
  695.  
  696.     {…}             Braces denote variable substitution.
  697.     {{…}}            … special characters are "escaped".
  698.     `…`             Backquotes denote command substitution.
  699.     ``…``            … special characters are "escaped".
  700.  
  701.     ?               Question mark matches any character in filename patterns.
  702.     ≈               Approximately (Option-X) matches any string in patterns.
  703.     […]             Brackets enclose character sets in filename patterns.
  704.     *               Star indicates zero or more repetitions in patterns.
  705.     +               Plus indicates one or more repetitions in patterns.
  706.     «…»             European quotes (Option-\ and Option-Shift-\) enclose
  707.                     repeat counts.
  708.  
  709.     <               Less-than indicates an input file specification.
  710.     >               Greater-than indicates an output file specification.
  711.     >>              Indicates appending to an output file specification.
  712.     ≥               Greater-than-or-equal indicates a diagnostic specification.
  713.     ≥≥              Indicates appending to a diagnostic file specification.
  714.     ∑               Capital sigma (option-w) indicates both an output file and
  715.                     diagnostic output file specification.
  716.     ∑∑              Indicates appending to the output and diagnostic file
  717.                     specification.
  718.     
  719.     …               Ellipsis (Option-;) signals the Shell to use Commando
  720.  
  721. -
  722. Expressions
  723.  
  724.     Numbers may be expressed in decimal, hexadecimal, octal, or
  725.     binary.  Any of the following formats may be used:
  726.     
  727.     [0-9]+          decimal number
  728.     0x[0-9a-f]+     hexadecimal number
  729.     $[0-9a-f]+      hexadecimal number
  730.     0[0-7]+         octal number
  731.     0b[01]+         binary number
  732.     
  733.     The operators listed below are used in expressions in the
  734.     Evaluate, If, Else If, Break, Continue, and Exit commands.
  735.  
  736.     Alternate spellings of several operators are provided.
  737.     All of the operators are evaluated from left to right.
  738.     Operators with the highest precedence are listed first,
  739.     and operators in the same group have equal precedence.
  740.  
  741.  
  742.     (…)             expression grouping
  743.  
  744.     -               unary negation
  745.     ~               bitwise negation
  746.     !    NOT  ¬     logical NOT (¬ is Option-L)
  747.  
  748.     *               multiplication
  749.     ÷    DIV        division (÷ is Option-/)
  750.     %    MOD        modulus division
  751.  
  752.     +               addition
  753.     -               subtraction
  754.  
  755.     <<              shift left
  756.     >>              shift right
  757.  
  758.     <               less than
  759.     <=   ≤          less than or equal to (≤ is Option-<)
  760.     >               greater than
  761.     >=   ≥          greater than or equal to (≥ is Option->)
  762.  
  763.     ==              equal
  764.     !=   <>   ≠     not equal (≠ is Option-=)
  765.     =~              equal to a pattern
  766.     !~              not equal to a pattern
  767.  
  768.     &               bitwise AND
  769.  
  770.     ^               bitwise XOR
  771.  
  772.     |               bitwise OR
  773.  
  774.     &&   AND        logical AND
  775.  
  776.     ||   OR         logical OR
  777.  
  778. -
  779. Selections - selections specify a selection or insertion point
  780.  
  781.     §                       current selection (Option-6)
  782.     n                       line number n
  783.     !n                      line n lines after end of current selection
  784.     ¡n                      line n lines before start of selection (Option-1)
  785.     position                position (defined below)
  786.     markerName              selection marked by markerName
  787.     pattern                 pattern  (defined below)
  788.     (selection)             selection grouping
  789.     selection:selection     both selections and everything in between
  790.     
  791. position - positions specify an insertion point
  792.  
  793.     •                       position before first character of file (Option-8)
  794.     ∞                       position after last character of file (Option-5)
  795.     Δselection              position before first character of selection (Option-J)
  796.     selectionΔ              position after last character of selection (Option-J)
  797.     selection!n             position n characters after selection
  798.     selection¡n             position n characters before selection (Option-!)
  799.     
  800. pattern - patterns specify characters to be matched
  801.  
  802.     /entireRE/              regular expression - search forward
  803.     \entireRE\              regular expression - search backward
  804.     
  805.     Help Patterns           # See "Help Patterns" for more information.
  806.     
  807. -
  808. Patterns - Patterns specify characters to be matched
  809.  
  810.     /entireRE/              regular expression - search forward
  811.     \entireRE\              regular expression - search backward
  812.     
  813. entireRE
  814.  
  815.     •RE                     regular expression at beginning of line (Option-8)
  816.     RE∞                     regular expression at end of line (Option-5)
  817.     RE                      regular expression
  818.     
  819. RE
  820.  
  821.     simpleExpr              simple regular expression - defined below
  822.     (RE)®digit              tagged RE - refer to match as ®digit (Option-R)
  823.     'string'                literal - no characters within '…' are special
  824.     "string"                literal - only ∂, {, and ` are special within "…"
  825.     RE1RE2                  regular expression RE1 followed by RE2
  826.     
  827. simpleExpr
  828.     
  829.     (RE)                    regular expression grouping
  830.     charExpr                single character regular expression - defined below
  831.     simpleExpr*             simple expression zero or more times
  832.     simpleExpr+             simple expression one of more times
  833.     simpleExpr«n»           simple expression n times (Option-\, Option-Shift-\)
  834.     simpleExpr«n,»          simple expression at least n times
  835.     simpleExpr«n1,n2»       simple expression at least n1, at most n2 times
  836.     
  837. charExpr
  838.     
  839.     character               character (unless it has special meaning)
  840.     ∂character              character - defeats any special meaning (Option-D)
  841.     ?                       any character except Return
  842.     ≈                       zero or more characters, except Return (Option-X)
  843.     [charList]              any character in the list
  844.     [¬charList]             any character not in the list (Option-L)
  845.     
  846. charList
  847.     
  848.     [                       [ first in the list represents itself
  849.     ]                       ] first in the list represents itself
  850.     -                       - first in the list represents itself
  851.     character               character
  852.     charList character      list of characters
  853.     character-character     character range (e.g. A-Z)
  854.     
  855. -
  856. ShortCuts
  857.     The following is a list of MPW Shell shortcuts:
  858.     
  859.     Double click        select word
  860.     Triple click        select line
  861.     Double Clicking on any of the characters (,),[,],{,},',",/,\,`,“,”,‘,’ will
  862.     select everything between the character and its mate.
  863.  
  864.     LeftArrow                move insertion point one character to the left
  865.     RightArrow               move insertion point one character to the right
  866.     UpArrow                  move insertion point one line above current position
  867.     DownArrow                move insertion point one line below current position   
  868.     
  869.     Opt-LeftArrow            move insertion point one word to the left
  870.     Opt-RightArrow           move insertion point one word to the right
  871.     
  872.     Shift-LeftArrow          extend selection one character to the left
  873.     Shift-RightArrow         extend selection one character to the right
  874.     Shift-UpArrow            extend selection one line above current position  
  875.     Shift-DownArrow          extend selection one line below current position
  876.     
  877.     Shift-Opt-LeftArrow      extend selection one word to the left
  878.     Shift-Opt-RightArrow     extend selection one word to the right
  879.     
  880.     Cmd-LeftArrow            move insertion point to beginning of current line
  881.     Cmd-RightArrow           move insertion point to end of current line
  882.     Cmd-UpArrow              move insertion point up one screen size
  883.     Cmd-DownArrow            move insertion point down one screen size
  884.     
  885.     Cmd-Shift-LeftArrow      extend selection to beginning of current line
  886.     Cmd-Shift-RightArrow     extend selection to end of current line
  887.     Cmd-Shift-UpArrow        extend selection up one screen size
  888.     Cmd-Shift-DownArrow      extend selection down one screen size
  889.     
  890.     Cmd-Opt-UpArrow          move insertion point to beginning of file
  891.     Cmd-Opt-DownArrow        move insertion point to end of file
  892.     
  893.     Cmd-Shift-Opt-UpArrow    extend selection to beginning of file
  894.     Cmd-Shift-Opt-DownArrow  extend selection to end of file
  895.  
  896.     Delete                   delete character to the left
  897.     Del (Extended Keyboard)  delete character to the right
  898.     
  899.     Shift-Delete             delete character to the left
  900.     Shift-Del                delete character to the right
  901.     
  902.     Opt-Delete               delete word to the left
  903.     Opt-Del                  delete word to the right
  904.     
  905.     Cmd-Delete               delete from current position to end of file
  906.     Cmd-Del                  delete from current position to end of file
  907.     
  908.     Searching shortcuts
  909.         Cmd-Shift-G     reverse the direction of "Find Same"
  910.         Cmd-Shift-H     reverse the direction of "Find Selection"
  911.         Cmd-Shift-T     reverse the direction of "Replace Same"
  912.         Holding down Shift while selecting OK will reverse the direction
  913.             of "Find" and "Find and Replace"
  914.     
  915.     Holding down Option while selecting "Tile Windows" or "Stack Windows"
  916.         will include the worksheet in the tiling or stacking
  917.     Holding down Option while pressing Return will disable auto-indent
  918.         for that line.
  919.     Holding down Option while pressing Enter will invoke Commando on that
  920.         command line.
  921.     
  922.     In Dialogs without an EditText item
  923.         Y               Yes
  924.         N               No
  925.         CMD .           Cancel
  926.         ESC             Cancel
  927.  
  928. -
  929. AddMenu         # add a menu item
  930. AddMenu ([(menuName | -help) [-asis] [item [command…]] > menuList)
  931.         OR
  932.         (-link menu item submenu])
  933.     -asis                   # no metacharacter translation for menu item name
  934.     -help                   # a "menu name" for the balloon help menu
  935.     -link menu item submenu # define hierarchical menu
  936.     
  937.     Note: Item can contain the following metacharacters ("<char>" means
  938.     any character), unless the -asis option is used:
  939.         /<char>     Assign the keyboard equivalent Command-<char>
  940.         !<char>     Place <char> to the left of the menu item
  941.         ^n          Item has an icon, where n is the icon number
  942.         (           Item is disabled
  943.         <style      Item has a special style: "style" can be any of the following:
  944.                         B   Bold
  945.                         I   Italic
  946.                         U   Underline
  947.                         O   Outline
  948.                         S   Shadow
  949.  
  950.     Hierarchical menus are built like this:
  951.         # Create submenu
  952.         AddMenu SubMenu SubMenuItem1 "echo item1" 
  953.         AddMenu SubMenu SubMenuItem2 "echo item2" 
  954.         AddMenu SubMenu SubMenuItem3 "echo item3" 
  955.         AddMenu SubMenu SubMenuItem4 "echo item4" 
  956.         AddMenu SubMenu SubMenuItem5 "echo item5" 
  957.  
  958.         #Create topmenu
  959.         AddMenu Test Test1 "echo who cares"
  960.  
  961.         #now link it in
  962.         AddMenu -link Test Test1 SubMenu
  963.  
  964.  
  965. -
  966. AddPane         # split the window into panes
  967. AddPane [-p paneSpec] [-y ySplit | -h xSplit] [window]
  968.     -p paneSpec             # choose a pane to split
  969.     -y ySplit               # horizontal split at ySplit pixels from top
  970.     -x xSplit               # vertical split at xSplit pixels from left
  971.     
  972.     Note: paneSpec is an alternating catenation of strings of the 
  973.     form cm and rn, where m is a column ordinal and n is a row ordinal.
  974.  
  975. -
  976. Adjust          # adjust lines
  977. Adjust [option…] selection [window]
  978.     -c count                # repeat the Adjust count times
  979.     -l spaces               # shift lines by “spaces” spaces
  980.  
  981. -
  982. Alert           # display an alert box
  983. Alert [-s] [message…] < file
  984.     -s                      # silent, don't beep when dialog is displayed
  985.  
  986. -
  987. Alias           # define or write command aliases
  988. Alias [name [word…]]  > aliasList
  989.  
  990. -
  991. Align           # align text to left margin
  992. Align [-c count] selection [window]
  993.     -c count                # repeat the Align count times
  994.  
  995. -
  996. Asm             # MC68xxx Macro Assembler
  997. Asm [option…] [file…]  < file > listing ≥ progress
  998.     -addrsize size          # set size of address display
  999.     -blksize blocks         # use blocks * 512 byte I/O buffers
  1000.     -case on                # distinguish between upper and lower case
  1001.     -case obj[ect]          # preserve case in object file
  1002.     -case off               # ignore case (default)
  1003.     -c[heck]                # syntax check only, don't create object file
  1004.     -d[efine] name          # equivalent to: name EQU 1
  1005.     -d[efine] name=value    # equivalent to: name EQU value
  1006.     -d[efine] &name         # equivalent to: &name SET[AC] 1
  1007.     -d[efine] &name=value   # equivalent to: &name SET[AC] value
  1008.     -e[rrlog] file          # write errors and warnings to file
  1009.     -f                      # suppress page ejects in listing
  1010.     -font name[,size]       # set listing font and size
  1011.     -h                      # suppress page headers in listing
  1012.     -i directory,…          # search for includes in directory,…
  1013.     -l                      # write full listing to output
  1014.     -lo file                # listing output file or directory
  1015.     -model cfmseg           # generate a CFM-68K runtime compatible object file
  1016.     -model far              # allow generation of load-time relocatable 32-bit references   
  1017.     -model near             # prohibit generation of load-time relocatable 32-bit
  1018.                             #   references (the default)
  1019.     -o objname              # generate code in file or directory objname
  1020.     -pagesize l[,w]         # set listing page length and width
  1021.     -print mode             # equivalent to: PRINT mode
  1022.     -p                      # write progress information to diagnostics
  1023.     -s                      # write short listing to output
  1024.     -sym off                # no symbolic records
  1025.     -sym on|full            # full symbolic records; can modify with [,nolines] [,notypes] [,novars]
  1026.     -t                      # write time and total lines to diagnostics
  1027.     -w                      # suppress warnings
  1028.     -wb                     # suppress warnings on branch instructions
  1029.  
  1030. -
  1031. ATags           # Create a tag file based on Asm source code
  1032. ATags [option…] file…
  1033.     -k                      # keep tags from named files, remove all others
  1034.     -o filename             # output to filename (default is "tags")
  1035.     -p                      # write progress information to diagnostics
  1036.     -r                      # remove tags from named files, keep all others
  1037.     -update                 # update existing tags file
  1038.     -w                      # issue warnings
  1039.  
  1040. -
  1041. AuthorInfo      # print information about the authors in a project
  1042. AuthorInfo [-u User] [-project Project] [-r] [-cs comment | -cf file]
  1043.     -u user                 # name of current user
  1044.     -project project        # name of project that contains the symbolic names
  1045.     -r                      # recursively unobsolete names
  1046.     -cs comment             # brief information about the author
  1047.     -cf file                # the comment is contained in the file
  1048.  
  1049. -
  1050. Backup          # folder file backup
  1051. Backup [option…] -from folder -to folder [file…]  > commands ≥ progress
  1052.     -a                      # copy all files in "from" not in "to"
  1053.     -ay                     # suppress delete command's -ay option
  1054.     -alt                    # alternate prompts for disk drives
  1055.     -busy folder            # move busy files to specified folder
  1056.     -c                      # create "to" folders if they don't exist
  1057.     -check checkopt,…       # produce reports based on checkopt
  1058.                             # checkopt=from     "from" not in "to"
  1059.                             #          to       "to" not in "from"
  1060.                             #          allfroms "from" not in "to" even if none
  1061.                             #          alltos   "to" not in "from" even if none
  1062.                             #          folders  "from" folders not in "to"
  1063.                             #          newer    "to"s newer than "from"s
  1064.     -co filename            # redirect -check reports to filename
  1065.     -compare [only][,'opts']# write compare commands for out-of-date files
  1066.     -d                      # write delete commands for files in "to" not in "from"
  1067.     -do [only][,'command']  # write the command string specified by command…
  1068.     -e                      # eject disk when done
  1069.     -from folder|drive      # specify source folder or drive (1 or 2)
  1070.     -l                      # write directory listing of "from" files
  1071.     -lastcmd 'command'      # write the command string as the last command
  1072.     -level n                # restrict -a and -d to files beyond level n
  1073.     -m                      # multi-disk -- more than one "from" or "to" disk
  1074.     -n                      # show folder nesting by indenting commands 
  1075.     -noalias                # suppress generation of commands that would affect alias files
  1076.     -p                      # write progress information to diagnostics
  1077.     -r                      # recursively process nested folders
  1078.     -revert                 # revert "to" files to their "from" state
  1079.     -since date[,time]|fname# process only files since specified time
  1080.     -sync                   # synchronize both source and destination folders
  1081.     -t type                 # process only files of specified type
  1082.     -to folder|drive        # specify destination folder or drive (1 or 2)
  1083.     -y                      # suppress duplicate command's -y option
  1084.  
  1085.     Note:  A date is mm/dd/[yy]yy [[hh:mm[:ss]] [AM|PM]]
  1086.           ([yy]yy < 100 assumes 20th century, e.g. 19yy)
  1087.  
  1088. -
  1089. Beep            # generate tones
  1090. Beep [note [,duration [,level]]]…
  1091.     #   duration is given in sixtieths of a second (default is 15)
  1092.     #   sound level is given as a number from 0 to 255 (default is 128)
  1093.  
  1094. -
  1095. Begin           # group commands
  1096. Begin
  1097.     command…
  1098. End
  1099.  
  1100. -
  1101. Break           # break from For or Loop
  1102. Break [If expression]
  1103.  
  1104. -
  1105. Browser         # invoke Marker Browser
  1106.  
  1107.                 # The MPW Browser command is used to navigate source files or other text.  It 
  1108.                 # presents a window containing a list of the files in the current directory
  1109.                 # and, for the selected file, a list of markers.  Double-clicking on the marker
  1110.                 # opens the file with the selection point at the marker.  Entering a marker name
  1111.                 # in a text box searches all files in the directory for that marker, and if found 
  1112.                 # opens the file with the selection point at the marker.
  1113.  
  1114. -
  1115. BuildCommands   # show build commands
  1116. BuildCommands program [option…] > commands
  1117.     option…                 # Make command options
  1118.  
  1119. -
  1120. BuildMenu       # create the Build menu
  1121. BuildMenu
  1122.  
  1123. -
  1124. BuildProgram    # build the specified program
  1125. BuildProgram program [option…] > log
  1126.     option…                 # Make command options
  1127.  
  1128. -
  1129. Canon           # canonical spelling tool
  1130. Canon [option…] dictionary [file…]  < file > new
  1131.     -s                      # case sensitive replacement
  1132.     -a                      # assembler identifiers (include $, %, @)
  1133.     -c n                    # consider only the first n characters
  1134.  
  1135. -
  1136. Catenate        # concatenate files
  1137. Catenate [file…]  < file > catenation
  1138.  
  1139. -
  1140. CheckIn         # check a file into a project
  1141. CheckIn -w | -close | ([option…] files…) > progress
  1142.     -a                      # checkin all files in current directory
  1143.     -b                      # check in files… as branches
  1144.     -c                      # cancel if conflict occurs (avoids dialog)
  1145.     -cf file                # the comment is contained in file.
  1146.     -close                  # close the Check In window
  1147.     -cs comment             # a description of changes made to the file
  1148.     -delete                 # delete the file after checking it in
  1149.     -m                      # check out the files for modification after checking in
  1150.     -n                      # answer no to all dialogs (avoids dialogs)
  1151.     -new                    # add a new file to the project
  1152.     -p                      # write progress information to standard output
  1153.     -project project        # name of project that contains the files
  1154.     -t task                 # a short description of task accomplished
  1155.     -touch                  # touch the mod date of file after checking in
  1156.     -u user                 # name of current user
  1157.     -verify                 # verify the contents of the checked in file
  1158.     -w                      # open the Check In window
  1159.     -y                      # answer yes to all dialogs (avoids dialogs)
  1160.  
  1161. -
  1162. CheckOut        # check a file out from a project
  1163. CheckOut -w | -close | ([option…] name…) > progress *
  1164.     -a                      # check out all the files in the current project
  1165.     -b                      # checkout specified files on a new branch
  1166.     -c                      # cancel if conflict occurs (avoids dialog)
  1167.     -cancel                 # cancel the checkout of the files
  1168.     -cf file                # the comment is contained in files
  1169.     -close                  # close the Check Out window
  1170.     -cs comment             # a short description of changes
  1171.     -d dir                  # directory where the checked out files should go
  1172.     -date date              # check out revisions current on this date 
  1173.     -deleteObsolete         # delete obsolete files found in the checkout directory
  1174.     -history                # store history in the ckid resource
  1175.     -m                      # check out a modifiable copy of the file
  1176.     -n                      # answer no to all dialogs (avoids dialogs)
  1177.     -newer                  # checkout latest copy of all files in the project
  1178.     -noTouch                # don't touch the mod date of the checked out files
  1179.     -noWarn                 # don't report warning if project has no files
  1180.     -obsolete               # checkout read-only version of obsoleted file 
  1181.     -open                   # open the files after checking out
  1182.     -p                      # write progress information to standard output
  1183.     -project project        # name of project that contains the files
  1184.     -r                      # recursively checkout files
  1185.     -t task                 # a short description of task accomplished
  1186.     -touchOnly              # checkout and touch only those members of a nameRevisions
  1187.                             #  set that are not already checked out
  1188.     -u user                 # name of current user
  1189.     -update                 # checkout latest copy of all files you already have
  1190.     -verify                 # verify the contents of the checked out file
  1191.     -w                      # open the Check Out window
  1192.     -y                      # answer yes to all dialogs (avoids dialogs)
  1193.     
  1194.     * name = file name | NameRevisions name
  1195.  
  1196.     Note:  A date is mm/dd/[yy]yy [[hh:mm[:ss]] [AM|PM]]
  1197.           ([yy]yy < 100 assumes 20th century, e.g. 19yy)
  1198.  
  1199. -
  1200. CheckOutDir     # specify the directory where checked out files will placed
  1201. CheckOutDir [-project project | -m] [-r] [-x | directory]
  1202.     -project project        # name of project to associate with the checkout directory
  1203.     -m                      # list the checkout directories of all root projects
  1204.     -r                      # recursively set or display the checkout directories
  1205.     -x                      # reset the checkout directories to ":"
  1206.  
  1207. -
  1208. Choose          # choose or list network file server volumes and printers
  1209. Choose [option…] [zone]:[server[:volume]] …
  1210.     -askpw                  # ask for server password (in a "safe" dialog box)
  1211.     -askvp                  # ask for volume password (in a "safe" dialog box)
  1212.     -atalk                  # mount server via AppleTalk instead of TCP
  1213.     -c                      # display -list output in the form of "Choose" commands
  1214.     -cp                     # list name, type and driver of current printer
  1215.     -dr driverName          # the driver name of the print server being mounted (e.g. "LaserWriter")
  1216.     -guest                  # log-in to the file server as a guest
  1217.     -list                   # list entities (don't choose them)
  1218.     -p                      # write version and progress information to standard output
  1219.     -pr                     # choose a print server (instead of file servers)
  1220.     -pw serverPassword      # specify server password
  1221.     -type typeName          # specify type of entity to list or choose (or '≈')
  1222.     -u userName             # specify user name for server log-in
  1223.     -v                      # verbose (list all mounted file server volumes)
  1224.     -vp volumePassword      # specify volume password
  1225.  
  1226.     The wildcard '≈' may be used in place of a zone, server, volume or
  1227.     type name.  A leading ':' (empty zone name) or '*:' indicates the
  1228.     current zone.  A name of the form "…server:" will mount all volumes
  1229.     on the server, unless a specific volume name is given.
  1230.  
  1231. -
  1232. Clear           # clear the selection
  1233. Clear [-c count] selection [window]
  1234.     -c count                # repeat the Clear count times
  1235.  
  1236. -
  1237. Close           # close specified windows
  1238. Close [-y | -n | -c] [ -a | window…]
  1239.     -y                      # save modified windows before closing (avoids dialog)
  1240.     -n                      # don't save any modified windows (avoids dialog)
  1241.     -c                      # cancel if there is a modified window (avoids dialog)
  1242.     -a                      # close all the windows
  1243.  
  1244. -
  1245. CMarker         # generate Mark commands for C and C++ function definitions
  1246. CMarker [option…] [file…]
  1247.     -a[nachronisms]         # suppress anachronisms messages
  1248.     -d[efine] name[=string] # define name to the preprocessor (same as #define)
  1249.         [,name[=string]]… 
  1250.     -e                      # show macro expansion in the listing (default with -ppout)
  1251.     -ext[ensions] on|off    # turn on or off Apple compiler extensions (default on)
  1252.     -errors                 # suppress marking if errors are detected
  1253.     -i[ncludes] pathname    # search for include files in the specified directories (Max of 15)
  1254.         [,pathname],… 
  1255.     -lang[uage] C|"C++"     # specify target sources as either C or C++ (Default is C)
  1256.     -linesize n             # maximum number of characters generated in a single listing line
  1257.     -l[ist[ing]]            # generate a listing of the source to stdout
  1258.     -mc68881                # define the macro name mc68881 as having the value 1
  1259.     -msi                    # mark include (header) files
  1260.     -pp                     # preprocessing only (no markers will be generated)
  1261.     -ppout filename         # write the preprocessor output to the specified filename
  1262.     -p[rogress]             # write version, progress and summary information to stderr
  1263.     -showskipped            # show lines skipped by conditional compilation in the listing output
  1264.     -t                      # display processing time and number of lines to stderr
  1265.     -u[ndefine] name        # undefine the preprocessor symbol name  (same as #undef)
  1266.         [,name]…    
  1267.  
  1268. -
  1269. Commando        # present a dialog interface for commands
  1270. Commando [command] [-modify]
  1271.     -modify                 # enable Commando’s built-in editor
  1272.  
  1273. -
  1274. Compare         # compare text files
  1275. Compare [option…] file1 [file2]  < file2 > differences ≥ progress
  1276.     -b                      # treat several blanks or tabs as a single blank
  1277.     -c c1-c2[,c1-c2]        # compare only specified columns
  1278.     -d depth                # maximum stack depth
  1279.     -e context              # display specified number of context lines
  1280.     -g groupingFactor       # grouping factor (matching lines for resync)
  1281.     -h width                # write differences horizontally
  1282.     -l                      # lower case (i.e. ignore case differences)
  1283.     -m                      # suppress displays of mismatched lines
  1284.     -n                      # don't write to output if files match
  1285.     -p                      # write progress information to diagnostics
  1286.     -s                      # use static grouping factor
  1287.     -selection set          # highlight first mismatch (for CompareFiles only)
  1288.     -selection next         # highlight next mismatch (for CompareFiles only) 
  1289.     -t                      # ignore trailing blanks
  1290.     -v                      # suppress line numbers in vertical displays
  1291.     -w max                  # set max input line length to max (default: 255, max max: 1024)
  1292.     -x                      # don't expand tabs
  1293.  
  1294. -
  1295. CompareFiles    # compare text files and interactively view differences
  1296. CompareFiles [option…] oldFile (newFile | newDir)
  1297.     -9                      # assume a screen size of 512 x 342
  1298.     -LC | -12               # assume a screen size of 512 x 384 (12" RGB)
  1299.     -13                     # assume a screen size of 640 x 480
  1300.     -Portrait | -15         # assume a screen size of 640 x 870 (Apple Macintosh Portrait Display)
  1301.     -16                     # assume a screen size of 832 x 624 (16" RGB)
  1302.     -17                     # assume a screen size of 1024 x 768
  1303.     -TwoPage | -21          # assume a screen size of 1152 x 870 (Apple Two-Page Monochrome Monitor)
  1304.     -b x y                  # tile windows into the rectangle specified by x y
  1305.     -r t,l,b,r              # specify rectangle in global pixel coordinates;
  1306.                             #   0,0 is upper left corner of primary monitor
  1307.     -compareOpts options    # specify options to pass along to Compare tool
  1308.     -topdown                # perform comparison from top to bottom
  1309.  
  1310. -
  1311. CompareRevisions # compare two revisions of a file in a project
  1312. CompareRevisions file
  1313.  
  1314. -
  1315. Confirm         # display a confirmation dialog box
  1316. Confirm [-t] [message…] < file
  1317.     -t                      # three buttons (Yes, No, Cancel)
  1318.     
  1319.     Note: The following status values are returned:
  1320.          0    "OK" selected in a two-button box, "Yes" in a three-button box
  1321.          1    Syntax error
  1322.          4    "Cancel" selected in a two-button box, "No" in a three-button box
  1323.          5    "Cancel" selected in a three-button box
  1324.  
  1325. -
  1326. Continue        # continue with next iteration of For or Loop
  1327. Continue [If expression]
  1328.     
  1329. -
  1330. Copy            # copy selection to Clipboard
  1331. Copy [-c count] selection [window]
  1332.     -c count                # copy the nth selection, where n = count
  1333.  
  1334. -
  1335. Count           # count lines and characters
  1336. Count [option…] [file…]  < file > counts
  1337.     -l                      # write only line counts
  1338.     -c                      # write only character counts
  1339.  
  1340. -
  1341. CreateMake      # create a simple makefile
  1342. CreateMake [ -68k | -PowerPC | -Fat ] [ -Application | -Tool | -DA | -CR | -SIOW | -SHRLIB ]
  1343.                 [ -sym on ] [ -depends ] [ -c creator ] [-export exportSymbol] 
  1344.                 [ -opt (local | size | speed1 | speed2 | speed3 | speed4) ] 
  1345.                 [ -mc68020 | -mc68881 | -elems881 ] [ -t fileType ] [ -m mainEntryPoint ]  
  1346.                 [ -rt resourceType ] [ -i path ] programname [file…]
  1347.     -Application            # create an Application (default)
  1348.     -c creator              # optional Creator for Application or Code Resource
  1349.     -Tool                   # create a Tool
  1350.     -DA                     # create a Desk Accessory
  1351.     -CR                     # create a Code Resource
  1352.     -SIOW                   # create a Simple Input/Output Window
  1353.     -export exportSymbol    # specify an exported symbol for a shared library
  1354.     -m mainEntryPoint       # required Main Entry Point for Code Resource
  1355.     -rt resourceType        # required Resource Type for Code Resource
  1356.     -t type                 # optional File Type for Code Resource
  1357.     -sym on                 # include debugging information in the object file
  1358.     -mc68020                # generate 68020 instructions
  1359.     -mc68881                # generate 68881 instructions for elementary operations
  1360.     -elems881               # generate 68881 instructions for transcendental functions
  1361.     -depends                # generate dependencies for include files for C and C++ source
  1362.     -PowerPC                # generate code for the PowerPC microprocessor family
  1363.     -68K                    # generate code for the 68000 microprocessor family
  1364.     -opt local | size |     # specify PowerPC C/C++ Compiler optimization options
  1365.          speed 1 | speed 2  #
  1366.          speed 3 | speed 4  #
  1367.     -SHRLIB                 # create a shared library (not yet implemented)
  1368.     -i path                 # specify an include file path to be searched for compiles.
  1369.     -fat                    # generate a "fat" application containing 68000-family
  1370.                             #   and PowerPC-family code.
  1371.  
  1372. -
  1373. Cut             # copy selection to Clipboard and delete it
  1374. Cut [-c count] selection [window]
  1375.     -c count                # cut the next count selections
  1376.  
  1377. -
  1378. CTags           # Create a tag file based on C source code
  1379. CTags [option…] file…
  1380.     -c                      # honor conditional compilation directives
  1381.     -cplusplus              # accept C++ syntax
  1382.     -d name                 # equivalent to #define name 1
  1383.     -d name=string          # equivalent to #define name string
  1384.     -decl                   # tag subroutine declarations
  1385.     -e                      # tag objects marked extern
  1386.     -f                      # force FILE not to be a datatype
  1387.     -h                      # don't tag included files
  1388.     -i directory            # search for includes in directory
  1389.     -k                      # keep tags from named files, remove all others
  1390.     -l                      # ignore #line directives
  1391.     -local                  # tag local include files only
  1392.     -noduptypedefs          # don't tag typedefs that duplicate struct, union, or enum tags
  1393.     -o filename             # output to filename (default is "tags")
  1394.     -p                      # write progress information to diagnostics
  1395.     -r                      # remove tags from named files, keep all others
  1396.     -s                      # tag objects marked static
  1397.     -t name                 # name is considered a datatype
  1398.     -u                      # tag #undef'd words
  1399.     -update                 # update existing tags file
  1400.     -w                      # issue warnings
  1401.  
  1402. -
  1403. Date            # write the date and time
  1404. Date ([-a | -s | -s4 | -u] [-st] [-d | -t] [-c seconds | -utc]) | ([-n] [-utc]) | [-x date] > date
  1405.     -a                      # abbreviated date (e.g. Wed, Jun 14, 1995)
  1406.     -s                      # short date (e.g. 6/14/95)
  1407.     -s4                     # short date, using 4-digit year (e.g. 6/14/1995)
  1408.     -u                      # uniform output format, "YYYY◊MM◊DD HH:MM:SS"
  1409.     -st                     # omit seconds from time format
  1410.     -d                      # write date only
  1411.     -t                      # write time only
  1412.     -c seconds              # write date corresponding to seconds
  1413.     -x date                 # write seconds corresponding to date
  1414.     -n                      # write seconds since January 1, 1904
  1415.     -utc                    # write output converted to Universal Time Coordinates
  1416.  
  1417. -
  1418. Delete          # delete files and directories
  1419. Delete [-y | -n | -c] [-i] [-p] name…  ≥ progress
  1420.     -y                      # delete directory contents (avoids dialog)
  1421.     -n                      # don't delete directory contents (avoids dialog)
  1422.     -c                      # cancel if a directory is to be deleted (avoids dialog)
  1423.     -ay                     # delete alias files (avoids dialog)
  1424.     -an                     # don't delete alias files (avoids dialog)
  1425.     -ac                     # cancel if an alias file is to be deleted (avoids dialog)
  1426.     -i                      # ignore errors (no diagnostics)
  1427.     -p                      # write progress information to diagnostics
  1428.  
  1429. -
  1430. DeleteMenu      # delete user-defined menus and menu items
  1431. DeleteMenu [(menuName | -help) [itemName]]
  1432.     -help                   # a "menu name" for the balloon help menu
  1433.  
  1434. -
  1435. DeleteNames     # delete user-defined symbolic names
  1436. DeleteNames [-u user] [-project project] [-public | -private] [-r] [names… | -a]
  1437.     -u user                 # name of current user
  1438.     -private                # delete private names
  1439.     -project project        # name of project that contains the files
  1440.     -public                 # delete public names (the default)
  1441.     -r                      # delete names recursively
  1442.     -a                      # delete all names
  1443.  
  1444. -
  1445. DeletePane      # delete panes from the window
  1446. DeletePane [-p paneSpec | -a] [window]
  1447.     -p paneSpec             # choose a  pane to delete
  1448.     -a                      # reset the window to one pane
  1449.     
  1450.     Note: paneSpec is an alternating catenation of strings of the 
  1451.     form cm and rn, where m is a column ordinal and n is a row ordinal.
  1452.  
  1453. -
  1454. DeleteRevisions # delete previous revisions of files in a project
  1455. DeleteRevisions [option…] revision…
  1456.     -u user                 # name of current user
  1457.     -project project        # name of project that contains the files
  1458.     -file                   # deletes the file and all its revisions
  1459.     -y                      # delete the file/revision (avoids dialog)
  1460.  
  1461. -
  1462. DeRez           # resource decompiler
  1463. DeRez [option…] resourceFile [file…]  > description ≥ progress
  1464.     -c[ompatible]           # generate output compatible with Rez 1.0
  1465.     -e[scape]               # don't escape chars < $20 or > $D8
  1466.     -d[efine] name[=value]  # equivalent to #define name [value]
  1467.     -i[nclude] pathname     # search this path when looking for #include files
  1468.     -m[axstringsize] n      # write strings n characters per line
  1469.     -noResolve              # do not resolve leaf aliases for the resource file
  1470.     -only typeExpr          # process only resources of this type
  1471.     -p[rogress]             # write progress information to diagnostics
  1472.     -rd                     # suppress warnings for redeclared types
  1473.     -script language        # specify the character set (see second Note)
  1474.     -s[kip] typeExpr        # skip resources of this type
  1475.     -u[ndef] name           # equivalent to #undef name
  1476.  
  1477.     Note: A typeExpr may have one of these forms:
  1478.           type
  1479.         "'type'(id)"
  1480.         "'type'(id:id)"
  1481.         "'type'(∂"name∂")"
  1482.  
  1483.     Note: The following languages may be used with the -script option:
  1484.             Roman   (default)
  1485.             Japanese
  1486.             Korean
  1487.             SimpChinese
  1488.             TradChinese
  1489.  
  1490. -
  1491. Directory       # set or write the default directory
  1492. Directory [-q | directory]  > directory
  1493.     -q                      # don't quote directories with special characters
  1494.  
  1495. -
  1496. DirectoryMenu   # create the Directory menu
  1497. DirectoryMenu [directory…]
  1498.  
  1499. -
  1500. DoIt            # highlight and execute a series of shell commands
  1501. DoIt (CommandFile [-echo] [-dump]) | [-selection]
  1502.     -echo                   # echo commands before execution
  1503.     -dump                   # dump unexecuted commands after error
  1504.     -selection              # execute command in the current selection
  1505.  
  1506. -
  1507. DumpCode        # write formatted CODE resources
  1508. DumpCode [option…] resourceFile  > dump ≥ progress
  1509.     -n                      # dump only resource names
  1510.     -d                      # don't dump object code
  1511.     -h                      # don't write headers (offsets, hex, etc.)
  1512.     -a                      # show offsets from beginning of segment
  1513.     -jt                     # don't dump jump table
  1514.     -di                     # don't dump data initialization info
  1515.     -ri                     # don't dump a5- and segment-relocation info
  1516.     -p                      # write progress information to diagnostics
  1517.     -r byte1[,byte2]        # dump code from address byte1 (through byte2)
  1518.     -rt type[=id]           # dump only resources with this type (and id)
  1519.     -s name                 # dump only resource with this name
  1520.  
  1521. -
  1522. DumpFile        # display contents of any file
  1523. DumpFile  [option…] filename > dump ≥ progress
  1524.     -rf                     # display the resource fork of the file. (Default is data fork.)
  1525.     -bf                     # display both forks of the file
  1526.     -a                      # suppress display of ASCII character values.
  1527.     -a7                     # ignore high-order bit when displaying ASCII text
  1528.     -h                      # suppress display of hexadecimal characters.
  1529.     -o                      # suppress display of file offsets.
  1530.     -w nn                   # width - display nn bytes on each line of output.
  1531.     -g nn                   # group nn bytes together without intervening spaces.
  1532.     -p                      # write progress information to diagnostic output.
  1533.     -r byte1[,byteN]        # display only the byte range from byte1 to byteN.
  1534.     -noResolve              # suppress alias resolution
  1535.  
  1536. -
  1537. DumpObj         # write formatted object file
  1538. DumpObj [option…] objectFile  > dump ≥ progress
  1539.     -co                     # only dump disassembly
  1540.     -d                      # don't dump object code
  1541.     -h                      # don't write headers (offsets, hex, etc.)
  1542.     -i                      # use ids, rather than names, in dump
  1543.     -jn                     # just use names, rather than ids, in dump
  1544.     -l                      # dump file locations of object records
  1545.     -m name                 # dump only module "name" or module containing 
  1546.                             # entry-point "name" (-m option may be used repeatedly)
  1547.     -n                      # dump only the dictionary of names
  1548.     -p                      # write progress information to diagnostics
  1549.     -r byte1[,byte2]        # dump code from byte1 in file (through byte2)
  1550.     -sym [Off]              # disable symbolic output
  1551.          [On | Full]        # enable symbolic output (default), can be followed by:
  1552.             [,NoLabels]     #   omit label information
  1553.             [,NoLines]      #   omit source line information
  1554.             [,NoTypes]      #   omit type information
  1555.             [,NoVars]       #   omit variable information
  1556.     -mods                   # dump a module summary with entry point information
  1557.     -mh                     # omit module summary header
  1558.  
  1559. -
  1560. DumpPEF         # Display the contents of a PEF container
  1561. DumpPEF [option…] file… > dump ≥ progress
  1562.     -a[nnotate]             # annotate each PEF field.
  1563.     -cache on | off         # enable/disable data caching (default is on)
  1564.     -c[heck]                # check only, suppress all output
  1565.     -cont[ainer] n          # process only container n (n ≥ 1)
  1566.     -dialect cpu[,vec[tor]] # set disassembly dialect to cpu, where cpu is:
  1567.         Power | Pwr         #   RS/6000 Power
  1568.         PowerPC601 | PPC601 #   601
  1569.         PowerPC32  | PPC32  #   32-bit PowerPC
  1570.         PowerPC64  | PPC64  #   64-bit PowerPC
  1571.         vec[tor]            #   vector extensions
  1572.     -do All | optLetters    # process all or selected PEF sections; optLetters:
  1573.                  r          #   'cfrg' + 'rseg' resources
  1574.                  h          #   main header + section headers (default)
  1575.                  y          #   section header string table
  1576.                  a          #   all raw data sections except code and data
  1577.                  c | t      #   code (text) section
  1578.                  d          #   data section
  1579.                  p          #   pidata section
  1580.                  k          #   constant section
  1581.                  x          #   exec data section
  1582.                  l          #   loader section (hdrs + relocations + symbols) (default)
  1583.                  g          #   debug section
  1584.                  e          #   exception section
  1585.                  b          #   trace back section
  1586.     -fmt fmtParams          # same as -format.
  1587.     -forks whichForks       # process only those containers in the specified fork(s).
  1588.            rsrc | resource  #   process only containers in resource fork
  1589.            data             #   process only containers in data fork
  1590.            both | all       #   process all containers in both forks (default)
  1591.     -format on | off[=opt]  # specify code section formatting (default is off); opt:
  1592.                  d          #   show d(RA) displacements in decimal instead of hex
  1593.                  f          #   show fields in decimal instead of hex
  1594.                  h | $      #   show hex values with leading '$' instead of '0x'
  1595.                  i | s      #   show signed immediates in decimal instead of hex
  1596.                  m          #   show hex with the smallest even number of hex digits
  1597.                  p          #   show PC-relative values in decimal instead of hex
  1598.                  u          #   show unsigned immediates in decimal instead of hex
  1599.                  x          #   show extended mnemonics (except when -dialect power)
  1600.                  2          #   show neg hex in 2's comp. instead of negated hex
  1601.     -h                      # display this help info (or run tool with no arguments).
  1602.     -ibm                    # format disassembly using IBM assembly conventions.
  1603.     -ldr All | ldrLetter    # finer control over loader (-do l) section; ldrLetter:
  1604.                  h          #   loader header (default)
  1605.                  f          #   loader import IDs
  1606.                  i          #   loader import symbol table (default)
  1607.                  r          #   loader relocation header + instructions (default)
  1608.                  y          #   loader string table
  1609.                  t          #   loader hash slot table
  1610.                  c          #   loader export chain table
  1611.                  x          #   loader export symbol table (default)
  1612.                  n          #   loader export symbol names
  1613.                  a          #   all except export slot and chain tables
  1614.     -loader ALL | ldrLetter # Same as -ldr.
  1615.     -mark                   # add MPW Shell markers to titles in output
  1616.     -maxlines n             # limit section displays (except headers) to n lines.
  1617.     -o[ffsets]              # suppress PEF container offsets.
  1618.     -p                      # display progress info to stderr.
  1619.     -pi[data] piLetter      # further qualifies pidata (-do p) processing; piLetter:
  1620.                  u          #   display the unpacked data produced by the pidata
  1621.                  v          #   "vertical" pidata display (each rpt on new line)
  1622.                  i          #   show only the pidata instructions and no encodings
  1623.     -sect[ion] n            # limit section relative processing to only section n (n ≥ 0)
  1624.     -stripped               # Suppress titles, break lines, summary info & offsets
  1625.     -summarize              # summarize results (implied by -p).
  1626.     -u[nmangle]             # unmangle symbols.
  1627.     -v[erbose]              # same as -annotate.
  1628.     -w                      # suppress warnings.
  1629.     -w601                   # show explicit warnings for Power instructions and 601 SPRs
  1630.  
  1631. -
  1632. DumpSYM         # dump formatted SYM file
  1633. DumpSYM [option] symFile
  1634.     -only t1[,t2…]          # dump only listed tables
  1635.     -allbut t1[,t2…]        # dump all tables except those listed
  1636.                             
  1637.     Tables are:
  1638.         CLTE                # Contained Label Table
  1639.         CMTE                # Contained Module Table
  1640.         CSNTE               # Contained Statement Table
  1641.         CTTE                # Contained Type Table
  1642.         CVTE                # Contained Variable Table
  1643.         FITE                # File Information Table
  1644.         FRTE                # File Reference Table
  1645.         MTE                 # Module Table
  1646.         RTE                 # Resource Table
  1647.         TINFO               # Type Information Table
  1648.         TTE                 # Type Table
  1649.                             #   (same as TINFO but more human readable)
  1650.  
  1651. -
  1652. DumpXCOFF       # write formatted XCOFF file
  1653. DumpXCOFF [option…] xcoffFile… >output
  1654.     -a[nnotate]             # Annotate each XCOFF field.
  1655.     -cache on | off         # Enable/disable section hdrs, symbol and string tbl caching.
  1656.     -c[heck]                # Check only.  All output is suppressed on whatever is processed.
  1657.     -dialect cpu[,vec[tor]] # Set disassembly dialect to cpu, where cpu is,
  1658.                             #   Power      | Pwr    ==> RS/6000 Power
  1659.                             #   PowerPC601 | PPC601 ==> 601
  1660.                             #   PowerPC32  | PPC32  ==> 32-bit PowerPC
  1661.                             #   PowerPC64  | PPC64  ==> 64-bit PowerPC
  1662.                             #   vec[tor]            ==> vector extensions
  1663.     -do All |               # Process the specified XCOFF sections, either "All" or
  1664.       optLetters            #   selected sections specified by one or more of the
  1665.                             #   optLetters:
  1666.                             #       h    main header + opt aux header + section headers
  1667.                             #       r    relocation information
  1668.                             #       n    line number information
  1669.                             #       s    symbol table + string table
  1670.                             #       y    string table
  1671.                             #       a    all raw data sections (except .pad)
  1672.                             #       l    loader section
  1673.                             #       g    debug section
  1674.                             #       c    type check section
  1675.                             #       x    exception section
  1676.                             #       i    info (comment) section
  1677.                             #       t    text section
  1678.                             #       d    data section
  1679.                             #       b    bss section
  1680.     -fmt fmtParams          # Same as -format.
  1681.     -format fmtParams       # Change standard disassembly formatting options. The
  1682.                             #   fmtParams has the following syntax:
  1683.                             #       <on> | <off> | <fmtParams>,<on> | <fmtParams>,<off>
  1684.                             #           <on>  = ON=<fmtOptions>
  1685.                             #           <off> = OFF=<fmtOptions>
  1686.                             #   The <fmtOptions> are one or more of the following:
  1687.                             #       d     show d(RA) displacements in decimal instead of hex
  1688.                             #       f     show fields in decimal instead of hex
  1689.                             #       h | $ show hex values with leading '$' instead of '0x'
  1690.                             #       i | s show signed immediates in decimal instead of hex
  1691.                             #       m     show hex with the smallest even nbr of hex digits
  1692.                             #       p     show PC-relative values in decimal instead of hex
  1693.                             #       u     show unsigned immediates in decimal instead of hex
  1694.                             #       x     show extended mnemonics (except when -dialect power)
  1695.                             #       2     show neg hex in 2's comp. instead of negated hex
  1696.     -h | -?                 # Display help info (or run tool with no arguments).
  1697.     -ibm                    # Format disassembly using IBM assembly conventions.
  1698.     -i dir1,...             # Interlisting with dirN's as directory search paths.
  1699.     -ln                     # Show file/line numbers associated with disassembly.
  1700.     -m name1,...            # Disassemble only the specified functions (name1,...).
  1701.     -mark                   # Add MPW Shell markers to titles in output.
  1702.     -m[ark]f[uncts]         # Add markers to function labels (implies -mark).
  1703.     -maxlines n             # Limit section displays (except headers) to n lines.
  1704.     -n[ames] spec           # List symbol table or Loader section symbols ONLY, where
  1705.                             #   spec has the following syntax:
  1706.                             #     <keyword>[(<csectType>)][{<csectClass>}]
  1707.                             #   or,
  1708.                             #     <keyword>[,<csectType>][,<csectClass>]
  1709.                             #   and,
  1710.                             #     <keyword>   = All | AllLdr | Funct[ion][s] | <symClass> | <ldrSymClass>
  1711.                             #   <symClass>    = symbol table C_xxxx class (e.g., C_EXT)
  1712.                             #   <ldrSymClass> = <ldrClass> | <ldrSymClass><op><ldrClass>
  1713.                             #   <op>          = '|' | '&'
  1714.                             #   <ldrClass>    = Imp | Exp | Ent
  1715.                             #   <csectType>   = the 'xx' of XTY_xx (ER,SD,LD,CM,HL,EM,US)
  1716.                             #   <csectClass>  = the 'xx' of XMC_xx (PR, RO, RW, TC0, etc.)
  1717.                             #   Funct[ion][s] = "C_EXT(LD){PR}".
  1718.                             #   Note: Be careful of quoting if you use the braces in MPW!
  1719.     -ntb                    # Assume traceback tables are NOT present.
  1720.     -o[ffsets]              # Suppress XCOFF file offsets.
  1721.     -only name1,...         # Same as -m.
  1722.     -p                      # Display progress info to stderr.
  1723.     -powerOpen              # Add validations specific to PowerOpen.
  1724.     -sect[ion] s            # Limit section relative processing to only section s.
  1725.                             #   s is a number or a section name, e.g., ".text".
  1726.     -summarize              # Summarize results (implied by -p).
  1727.     -tb                     # Disassemble traceback tables if present.
  1728.     -u[nmangle]             # Unmangle symbols.
  1729.     -v[erbose]              # Same as -annotate.
  1730.     -w                      # Suppress warnings.
  1731.     -w601                   # Show explicit warnings for Power instructions (done only when
  1732.                             #   when -dialect is PPC601).
  1733.     -y                      # Suppress "beep" in -summarize Power instruction message
  1734.     -z c                    # Pathname separator char is 'c' (default ':').
  1735.     
  1736.     Default options are: -dialect PPC601 -do htdb -fmt on=xsf -cache on
  1737.     
  1738. -
  1739. Duplicate       # duplicate files and directories
  1740. Duplicate [-y | -n | -c] [-p] [-d | -r] name… target  ≥ progress
  1741.     -y                      # overwrite target files (avoids dialog)
  1742.     -n                      # don't overwrite target files (avoids dialog)
  1743.     -c                      # cancel if conflict occurs (avoids dialog)
  1744.     -p                      # write progress information to diagnostics
  1745.     -d                      # duplicate data fork only
  1746.     -r                      # duplicate resource fork only
  1747.     -rs                     # resolve leaf aliases in the source path(s)
  1748.     -rt                     # resolve leaf aliases in the target path
  1749.     -f                      # preserve Finder icon locations
  1750.  
  1751. -
  1752. DuplicateNameRevisions      # duplicate symbolic names
  1753. DuplicateNameRevisions [-u user] [-project project] [-public | -private] [-r] oldName newName
  1754.     -u user                 # name of current user
  1755.     -private                # duplicate private names
  1756.     -project project        # name of project that contains the names
  1757.     -public                 # duplicate public names (the default)
  1758.     -r                      # duplicate names recursively
  1759.  
  1760. -
  1761. Echo            # echo parameters
  1762. Echo [-n] [parameter…]  > parameters
  1763.     -n                      # don't write return following the parameters
  1764.  
  1765. -
  1766. Eject           # eject volumes
  1767. Eject [-m] volume…
  1768.     -m                      # leave the volume mounted
  1769.  
  1770. -
  1771. Entab           # convert runs of spaces to tabs
  1772. Entab [option…] [file…]  < file > tabbed ≥ progress
  1773.     -a minValue             # Min run of blanks that can be replaced with a tab
  1774.     -d tabValue             # input tab setting
  1775.     -l quote…               # left quotes that prevent EnTab (default '")
  1776.     -n                      # no quote characters, EnTab everything
  1777.     -p                      # write progress information to diagnostics
  1778.     -q quote…               # quotes that prevent EnTab (default '")
  1779.     -r quote…               # right quotes that prevent EnTab (default '")
  1780.     -t tabValue             # output tab setting
  1781.  
  1782. -
  1783. Equal           # compare files and directories
  1784. Equal [-d | -r] [-i] [-p] [-q] [-n count] name… target  > differences ≥ progress
  1785.     -d                      # compare data forks only
  1786.     -r                      # compare resource forks only
  1787.     -i                      # ignore files in target not in directory name
  1788.     -n count                # display only the number of difference instances
  1789.                             #  specified in "count"
  1790.     -p                      # write progress information to diagnostics
  1791.     -q                      # quiet - don't write output, just set {Status}
  1792.     -resolve                # resolve leaf aliases on input paths
  1793.  
  1794. -
  1795. Erase           # initialize volumes
  1796. Erase [option…] volume…
  1797.     -y                      # yes - erase the disk (avoids dialog)
  1798.     -s                      # single-sided - 400K (default 800K)
  1799.  
  1800. -
  1801. Evaluate        # evaluate an expression
  1802. Evaluate [-h | -o | -b] [word…]  > value
  1803. Evaluate Name [binary operator]= expression
  1804.     -h                      # display result in hexadecimal (leading 0x)
  1805.     -o                      # display result in octal (leading 0)
  1806.     -b                      # display result in binary (leading 0b)
  1807.  
  1808. -
  1809. Execute         # execute command file in the current scope
  1810. Execute commandFile
  1811.  
  1812. -
  1813. Exists          # confirm the existence of a file or directory
  1814. Exists [-d | -f | -w] [-q] name…  > file
  1815.     -a                      # write only paths to aliases (implies -n)
  1816.     -d                      # check if name is a directory
  1817.     -f                      # check if name is a file
  1818.     -n                      # do not resolve leaf aliases on input paths
  1819.     -w                      # check if name is a file and writeable
  1820.     -q                      # don't quote file names with special characters
  1821.  
  1822. -
  1823. Exit            # exit from a command file
  1824. Exit [status] [If expression]
  1825.  
  1826. -
  1827. Export          # make variables available to commands
  1828. Export [-r | -s | name…]  > exports
  1829.     -r                      # generate Unexport commands for all exported variables
  1830.     -s                      # print the names only
  1831.  
  1832. -
  1833. FileDiv         # divide a file into several smaller files
  1834. FileDiv [option…] file [prefix]  ≥ progress
  1835.     -b                      # input is a byte stream instead of lines
  1836.     -f                      # split file at formfeed character
  1837.     -n splitPoint           # split file after splitPoint lines or bytes (-b)
  1838.     -p                      # write progress information to diagnostics
  1839.     -s n                    # set -b input buffer to n * 512 bytes
  1840.  
  1841. -
  1842. Files           # list files and directories
  1843. Files [option…] [name…]  > fileList
  1844.     -af                     # expand the contents of the target of
  1845.                             #  leaf folder aliases; cannot be specified
  1846.                             #  together with -r
  1847.     -c creator              # list only files with this creator
  1848.     -d                      # list only directories
  1849.     -f                      # list full pathnames
  1850.     -fr                     # list full pathnames with all aliases resolved
  1851.     -i                      # treat all arguments as files
  1852.     -l                      # long format (type, creator, size, dates, etc.)
  1853.     -m columns              # n column format, where n = columns
  1854.     -n                      # don't print header in long or extended format
  1855.     -o                      # omit directory headers
  1856.     -q                      # don't quote filenames with special characters
  1857.     -r                      # recursively list subdirectories
  1858.     -s                      # suppress the listing of directories
  1859.     -t type                 # list only files of this type
  1860.     -x format               # extended format with the fields specified by format
  1861.     
  1862.     Note: The following characters can specify the format
  1863.         a   Flag attributes
  1864.         f   Finder comments
  1865.         b   Logical size, in bytes, of the data fork
  1866.         r   Logical size, in bytes, of the resource fork
  1867.         c   Creator of File ("Fldr" for folders)
  1868.         d   Creation date
  1869.         k   Physical size in kilobytes of both forks
  1870.         m   Modification date
  1871.         t   Type
  1872.         o   Owner (only for folders on a file server)
  1873.         g   Group (only for folders on a file server)
  1874.         p   Privileges (only for folders on a file server)
  1875.  
  1876. -
  1877. Find            # find and select a text pattern
  1878. Find [-c count] selection [window]
  1879.     -c count                # find the nth selection, where n = count
  1880.  
  1881. -
  1882. FindTag         # output data associated with tag
  1883. FindTag [option…] [tag]
  1884.     -a                      # use selection in active window as tag
  1885.     -f window               # use selection in named window as tag
  1886.     -n                      # suppress stacking
  1887.     -p                      # stack request, suppress search
  1888.     -q                      # suppress the escaping of quotes in filenames
  1889.     -s                      # search all files in {TagsPath}
  1890.  
  1891. -
  1892. Flush           # flush the tools that the Shell has cached
  1893. Flush
  1894.  
  1895. -
  1896. FlushAllVolumes # write cached File Manager data structures to disk
  1897. FlushAllVolumes
  1898.  
  1899. -
  1900. For             # repeat commands once per parameter
  1901. For name In word…
  1902.     command…
  1903. End
  1904.  
  1905. -
  1906. Format          # set or display formatting options for a window
  1907. Format [[-f font] [-s fontsize] [-t tabsize] [-a attr]] | [-x fmt] [window…]
  1908.     -f fontName             # set font to fontName
  1909.     -s fontSize             # set the font size to fontSize
  1910.     -t tabSize              # set the tab size to tabSize
  1911.     -a attr                 # set the auto indent and show invisibles flags
  1912.     -x fmt                  # output the current format in the specified format
  1913.     
  1914.     Note: The following attributes may be used with the -a option:
  1915.         A   auto indentation on
  1916.         a   auto indentation off
  1917.         I   show invisibles on
  1918.         i   show invisibles off
  1919.         L   lock auto scrolling
  1920.         l   unlock auto scrolling
  1921.     
  1922.     Note: The following characters may be used with the -x option:
  1923.         f   font name
  1924.         s   font size
  1925.         t   tab size
  1926.         a   attributes
  1927.  
  1928. -
  1929. Gestalt         # output information about the operating environment
  1930. Gestalt [option…] [selector…]
  1931.     -c                      # output only the number of bits in a Gestalt response
  1932.     -k                      # output the title even if only one selector is chosen
  1933.     -h                      # output the response as a hexadecimal number
  1934.     -s                      # output responses as strings if they exist in
  1935.                             #   Gestalt tool's database
  1936.     -e                      # generate error message if selector is not in data base
  1937.     -sel                    # output selector together with title and value
  1938.     -slots                  # output information about the cards in the machine slots
  1939.     -type                   # output info using only selectors which return a "type" 
  1940.     -vers                   # output info using only selectors which return a "vers"
  1941.     -addr                   # output info using only selectors which return an "addr"
  1942.     -size                   # output info using only selectors which return a "size"
  1943.     -attr                   # output info using only selectors which return an "attr"
  1944.     -t n                    # entab the output with the specified value
  1945.     -t1 n                   # place one tab of the specified value between the 
  1946.                             #   title and value
  1947.     -w n                    # write title in field of fixed width n (default: 24)
  1948.     -p                      # write version information
  1949.     -env                    # use SysEnvirons instead of Gestalt Manager
  1950.  
  1951. -
  1952. Get             # get a record from an indexed file
  1953. Get (dataFile… | -dfl listfFle) [-x] [-k key] [-width w] [-d default key] [-h | -h2] 
  1954.     [-l] [-m] [-nf] [-q] [-s] [-search] [-t] [-sfl] [-y] [-field field list 
  1955.     [-format format string] ] [-lessFields field list]
  1956.     
  1957.     dataFile                # a specially formatted help file which must be
  1958.                             # accompanied by an index file whose name is of
  1959.                             # the form: dataFile.index, and whose type is 'btre'
  1960.     -dfl listFile           # listFile contains a list of datafiles
  1961.     -k keyword              # keyword in the datafile's index file
  1962.     -width w                # column format for key lists, w = 1..200 is the 
  1963.                             #   window width in characters
  1964.     -d default              # use default keyword if no keyword is specified
  1965.     -h                      # write full header
  1966.     -h2                     # write short header (only the used datafile)
  1967.     -l                      # list all keys in the first data file that begin
  1968.                             #   with nnn, where nnn is the keyword following -k
  1969.     -lessFields tag [,tag]… # remove the named items from the existing field
  1970.                             #   list (default list or as specified by -field)
  1971.     -m                      # select the key word that was found and assign
  1972.                             #   a marker to the selection
  1973.     -nf                     # no filtering; include field tags
  1974.     -q                      # quiet output when keyword not found
  1975.     -s                      # use the selection in the active window as keyword
  1976.     -search                 # text search datafile for occurrences of keyword
  1977.     -t                      # write out template of the requested function/procedure
  1978.     -field tag[,tag]…       # specify the data field(s) to display
  1979.     -format format_string   # specify string(s) to be output in front of data
  1980.                             # specified in -field option.  '%s' flags in string 
  1981.                             #   correspond ordinally to tags in -field option
  1982.     -sfl                    # produce ordered list of data files 
  1983.                             #   (requires -dfl listFile)
  1984.     -x                      # create or update the cross reference index file
  1985.     -y                      # do not present dialog before (re)building index file
  1986.  
  1987. -
  1988. GetErrorText    # display error messages based on message number
  1989. GetErrorText [-f filename] [-s filename] [-n] [-p] errnbr[,insert,…] …
  1990. GetErrorText -i idnbr,…
  1991.     -f filename             # explicit error msg file
  1992.     -i idnbr                # report meaning of System Error Handler ID number
  1993.     -n                      # suppress error numbers in displayed messages
  1994.     -p                      # write version info to diagnostics
  1995.     -s filename             # explicit system error msg file (default SysErrs.Err)
  1996.  
  1997. -
  1998. GetFileName     # display a Standard File dialog box
  1999. GetFileName [-q] [-s]
  2000.             [-c | [(-t type)… | -p | -d | -wd] [-m message] [-b buttontitle] [pathname]]
  2001.     -b buttontitle          # specify the default button's title
  2002.     -c                      # write current standard file path to standard output
  2003.     -d                      # select a directory
  2004.     -wd                     # select a directory on a non-locked volume
  2005.     -m message              # specify a prompt
  2006.     -p                      # select a new filename (SFPutFile) 
  2007.     -q                      # suppress quoting of filenames
  2008.     -s                      # return 0 status even if cancel is clicked
  2009.     -t type                 # specify file type for SFGetFile dialog
  2010.  
  2011. -
  2012. GetListItem     # display items for selection in a dialog box
  2013. GetListItem [option…] [[item…] | < file]
  2014.     -c[ancel]               # return a status of 0 even when cancel is clicked
  2015.     -d[efault] item         # item is entered in list and comes up selected
  2016.     -m[essage] message      # display message in dialog above the list
  2017.     -q[uote]                # don't quote items in the output
  2018.     -r[ows] rows            # make the list with this many rows
  2019.     -s[ingle]               # only allow a single selection
  2020.     -sort                   # display list items in alphabetic order
  2021.     -w[idth] width          # make the list this many pixels wide
  2022.  
  2023. -
  2024. Help            # write summary information
  2025. Help [-f helpfile] [command…]  > helpInformation
  2026.     -f helpfile             # alternate helpfile (default MPW.Help)
  2027.  
  2028. -
  2029. HideWindows     # hide specified windows
  2030. HideWindows [-except] window…
  2031.     -except                 # hide all window except named ones
  2032.  
  2033. -
  2034. If              # conditional command execution
  2035. If expression
  2036.     command…
  2037. [Else If expression
  2038.     command… ] …
  2039. [Else
  2040.     command… ]
  2041. End
  2042.  
  2043. -
  2044. ILink           # incrementally link an application, tool, shared library or resource
  2045. ILink [option…] file… > map ≥ progress
  2046.     -ac n                   # align code modules on n-byte boundaries
  2047.                             # (default: 2 if -model near/far, 8 if -model cfmseg/cfmflat)
  2048.     -ad n                   # align data modules on n-byte boundaries
  2049.                             # (default: 2 if -model near/far, 4 if -model cfmseg/cfmflat)
  2050.     -br off |               # don't generate branch islands (default)
  2051.         on | 020 |          # generate 68020 branch islands where needed 
  2052.         68k                 # generate 68000 branch islands where needed
  2053.     -c resType              # set output file creator (default: ????)
  2054.     -compact                # compact the output file's resource fork
  2055.     -d                      # suppress warnings about duplicate symbol definitions
  2056.     -da                     # desk accessory - add NULL to segment names
  2057.     -@export fileName       # export symbols specified in text file, one symbol per line
  2058.     -export name[,name]…    # export the specified symbols
  2059.     -fragname name          # set PEF container fragment name (default: name of output file)
  2060.     -init name              # set initialization entry point
  2061.     -initbefore name[,name]…# mark the specified import libraries as "init before"
  2062.                             # note - this option takes fragment names not file names
  2063.     -l                      # write a link map to standard output for use by performance tools
  2064.     -la                     # -l, include anonymous symbols in link map
  2065.     -m[ain] name            # set main entry point
  2066.     -ma name=alias          # create an alias for a module name
  2067.     -map                    # write a formatted link map to standard output
  2068.     -[no]mf                 # [don't] use temporary memory (default: mf)
  2069.     -model cfmflat |        # generate a "flat" CFM-68K runtime compatible output file
  2070.            cfmseg |         # generate a segmented CFM-68K runtime compatible output file
  2071.            far |            # enable 32-bit load-time relocatable references
  2072.            near             # prohibit 32-bit references (default)
  2073.     -msg keyword[,keyword]… # message options
  2074.          [no]dup            # [don't] report warnings about duplicate symbol definitions
  2075.          [no]warn           # [don't] report warning messages
  2076.     -newerdeps              # relink only the object files specified on the command line
  2077.     -o fileName             # set output file name (default: Link.Out)
  2078.     -opt on | off           # enable Object Pascal optimizations (default: on)
  2079.     -p                      # write progress information to diagnostics
  2080.     -packdata off |         # don't compress the PEF container's data section
  2081.               on |          # compress the PEF container's data section (default)
  2082.               faster        # use a potentially faster compression algorithm
  2083.     -pad n                  # pad segments to n-byte boundaries, n must be 0 or a
  2084.                             # multiple of 512 (default: 512)
  2085.     -pm on | off            # use purgeable memory when reading object files (default: off)
  2086.     -ra [seg]=attr[,attr]…  # set resource attributes of specified segment or all segments
  2087.                             # attr = a resource attribute name or its hex or decimal equivalent
  2088.     -rn                     # don't include resource names in output file
  2089.     -rt resType=resID       # set resource type and ID
  2090.     -sg newSeg[=old[,old]…] # merge old segments into newSeg
  2091.     -sn oldSeg=newSeg       # change segment name oldSeg to newSeg
  2092.     -state [no]use |        # [don't] use state file (default: use)
  2093.            [no]rewrite      # [don't] rewrite state file (default: norewrite)
  2094.     -t resType              # set output file type (default: 'APPL' if -xm e, 'SPEF' if -xm s)
  2095.     -term name              # set termination entry point
  2096.     -uf fileName            # report unused code and data symbols to specified file
  2097.     -unmangle on | off      # unmangle C++ symbols in link map and messages (default: on)
  2098.     -vercur n               # set PEF container "current version" to n (default: 0)
  2099.     -verdef n               # set PEF container "definition version" to n (default: 0)
  2100.     -verimp n               # set PEF container "implementation version" to n (default: 0)
  2101.     -w[arn]                 # suppress warning messages
  2102.     -@weak fileName         # mark imports specified in text file as "weak", one import per line
  2103.     -weak name[,name]…      # mark the specified imports as "weak"
  2104.     -weaklib name[,name]…   # mark the specified import libraries as "weak"
  2105.                             # note - this option takes fragment names not file names
  2106.     -wrap                   # put excess jump table entries in global data space, if available
  2107.     -xm e[xecutable] |      # generate an application or tool (default)
  2108.         s[haredlibrary]     # generate a shared library
  2109.  
  2110. -
  2111. ILinkToSYM      # generate .SYM file from ILink state file
  2112. ILinkToSYM [option…] <appName>.NJ ≥ progress
  2113.     -c[sym] resType         # set output file creator (default: 'Alar')
  2114.     -[no]mf                 # [don't] use temporary memory (default: mf)
  2115.     -o fileName             # set output file name (default: <appName>.SYM)
  2116.     -p                      # write progress information to diagnostics
  2117.     -pg n                   # set output file page size to n
  2118.                             # n must be a multiple of 512 (default: 4096)
  2119.     -sym 3.2 |              # generate version 3.2 SYM file format
  2120.          3.4 |              # generate version 3.4 SYM file format
  2121.          3.5 |              # generate version 3.5 SYM file format
  2122.          on                 # generate version 3.5 SYM file format (default)
  2123.    
  2124. -
  2125. Lib             # combine object files into a library file
  2126. Lib [option…] objectFile…  ≥ progress
  2127.     -d                      # suppress duplicate definition warnings
  2128.     -df deleteFile          # delete modules listed in file deleteFile
  2129.     -dm name[,name]…        # delete external modules and entry points
  2130.     -dn name[,name]…        # delete external names, making them local
  2131.     -dnx name[,name]…       # delete all external names, except those listed
  2132.     -f                      # allow FORTRAN-style common data
  2133.     -mf                     # use MultiFinder temporary memory if necessary
  2134.     -o name                 # write object file name (default Lib.Out.o)
  2135.     -p                      # write progress information to diagnostics
  2136.     -rn OldNameA=NewNameA   # change module name(s) OldNameA to NewNameA,
  2137.       [,OldNameB=NewNameB]… #   OldNameB to NewNameB, etc.
  2138.     -sg newSeg[=old[,old]…] # merge old segments into new segment
  2139.     -sn oldSeg=newSeg       # change segment name oldSeg to newSeg
  2140.     -sym On | Full          # keep symbolic information (default), can be followed by:
  2141.             [,NoLabels]     #   discard label information
  2142.             [,NoLines]      #   discard source line information
  2143.             [,NoTypes]      #   discard type information
  2144.             [,NoVars]       #   discard variable information
  2145.     -sym Off                # discard symbolic information
  2146.     -ver N                  # set OMF file version number to N
  2147.     -w                      # suppress warnings
  2148.  
  2149. -
  2150. Line            # find line in the target window
  2151. Line n
  2152.  
  2153. -
  2154. Link            # link an application, tool, or resource
  2155. Link [option…] objectFile…  > map ≥ progress
  2156.     -ac alignment           # align code modules to 'n' byte boundaries
  2157.     -ad alignment           # align data modules to 'n' byte boundaries
  2158.     -br off                 # do not generate branch islands (default)
  2159.     -br on                  # generate branch islands where needed
  2160.     -br 020                 # generate 32-bit branch islands where needed
  2161.     -c creator              # set resourceFile creator (default ????)
  2162.     -cSym creator           # set .SYM file creator (default = 'sade')
  2163.     -d                      # suppress duplicate definition warnings
  2164.     -da                     # desk accessory - add NULL to segment names
  2165.     -f                      # allow FORTRAN-style common data
  2166.     -l                      # write a location map to output
  2167.     -la                     # -l, include anonymous symbols in location map
  2168.     -lf                     # -l, include file and location of definitions
  2169.     -m mainEntry            # use mainEntry as main entry point
  2170.     -ma name=alias          # create an alias for module name
  2171.     -map                    # generate "friendly" link map
  2172.     -mf                     # use MultiFinder temporary memory if necessary
  2173.     -mfMax                  # use ALL AVAILABLE MultiFinder temporary memory
  2174.     -nomf                   # don't use temporary memory (the default)
  2175.     -model far              # process 32-bit load-time relocatable references
  2176.     -model near             # prohibit 32-bit load-time relocatable references
  2177.     -msg keyword[,…]        # message options
  2178.         [no]dup             #   (suppress) warnings about duplicate symbols
  2179.         [no]multiple        #   (suppress) multiple undefined symbol reports
  2180.         [no]warn            #   (suppress) warning messages
  2181.     -newerdeps              # ignored--for compatibility with ILink
  2182.     -o outputFile           # write to outputFile (default: Link.Out)
  2183.     -opt Off                # disable Object Pascal optimizations (default)
  2184.     -opt On                 # enable optimizations
  2185.             [,Info]         #   write optimization information to diagnostics
  2186.             [,Names]        #   include MacsBug symbols within SelectorProc modules
  2187.     -opt NoBypass           # enable optimizations, but always dispatch
  2188.             [,Info]         #   write optimization information to diagnostics
  2189.             [,Names]        #   include MacsBug symbols within SelectorProc modules
  2190.     -p                      # write progress information to diagnostics
  2191.     -pg size                # set page size to "size"; max: 32K; min: 1024; default: 4096 
  2192.     -ra [seg]=attr[,attr…]  # set segment resource attributes:
  2193.         $xx (or) nnn        #   a hex or decimal attribute you figure out
  2194.         resSysHeap          #   or a comma-separated list of resource
  2195.         resPurgeable        #    attributes by name
  2196.         resLocked           #   
  2197.         resProtected        #   
  2198.         resPreload          #   
  2199.         resChanged          #   (essentially ignored)
  2200.     -rn                     # don't include resource names in outputFile
  2201.     -rt type=id             # set resource type and id  
  2202.     -sg newSeg[=old[,old]…] # merge old segments into new segment
  2203.     -sn oldSeg=newSeg       # change segment name oldSeg to newSeg
  2204.     -srt                    # sort global data by "near" and "far" references (default)
  2205.     -srtsg all|segName      # place items referenced through Jump Table low in code resource.
  2206.                             #   all: sort all segments.  
  2207.                             #   segName: sort named one.
  2208.     -state                  # ignored--for compatibility with ILink
  2209.     -sym Off                # disable symbolic output (default)
  2210.     -sym On | Full          # enable symbolic output, can be followed by:
  2211.             [,NoLabels]     #   omit label information
  2212.             [,NoLines]      #   omit source line information
  2213.             [,NoTypes]      #   omit type information
  2214.             [,NoVars]       #   omit variable information
  2215.             [,3.2]          #   generate version 3.2 SYM file
  2216.             [,3.3]          #   generate version 3.3 SYM file
  2217.             [,3.4]          #   generate version 3.4 SYM file (default)
  2218.     -t type                 # set resourceFile type (default APPL)
  2219.     -uf unrefFile           # write list of unreferenced modules to unrefFile
  2220.     -w                      # suppress warnings
  2221.     -wrap                   # when jump table space is exhausted, put excess jump table 
  2222.                             #   entries in global data space, if available
  2223.     -x crossRefFile         # write cross reference to crossRefFile
  2224.  
  2225. -
  2226. LockNameRevisions     # lock a symbolic name
  2227. LockNameRevisions [-u User] [-project Project] [-password password] [-r]
  2228.         [names… | -a]
  2229.     -u user                 # name of current user
  2230.     -project project        # name of project that contains the symbolic names
  2231.     -password password      # the password for this lock
  2232.     -r                      # recursively lock names
  2233.     -a                      # all the symbolic names in the project
  2234.  
  2235. -
  2236. Loop            # repeat commands until Break
  2237. Loop
  2238.     command…
  2239. End
  2240.  
  2241. -
  2242. Make            # build up-to-date version of a program
  2243. Make [option…] [target…] > commands ≥ progress
  2244.     -d name[=value]         # define variable name (overrides makefile definition)
  2245.     -e                      # rebuild everything regardless of dates
  2246.     -f filename             # read dependencies from specified file (default: MakeFile)
  2247.     -i dirname              # additional directory to search for include files
  2248.     -p                      # write progress information to diagnostics
  2249.     -r                      # display the roots of the dependency graph
  2250.     -s                      # display the structure of the dependency graph
  2251.     -t                      # touch dates of targets and prerequisites
  2252.     -u                      # write list of unreachable targets to diagnostics
  2253.     -v                      # write verbose explanations to diagnostics (implies -p)
  2254.     -w                      # suppress warning messages
  2255.     -y                      # like -v, but omit announcing up-to-date targets
  2256.  
  2257. -
  2258. MakeDepend      # generate makefile dependencies for "include" files
  2259. MakeDepend [option…] source_files… [explicit_dependencies…] ≥ progress
  2260.     name=[value]            # define a macro
  2261.     -append filename        # append generated dependencies to specified makefile (default: stdout)
  2262.     -d name[=value]         # define a macro
  2263.     -i dirname              # additional directory to search for all types of included files
  2264.     -ia dirname             # additional directory for Assembler INCLUDE/LOAD files
  2265.     -ic dirname             # additional directory for C/C++ #include files
  2266.     -ip dirname             # additional directory for Pascal USES/{$U…}/{$I…} files
  2267.     -ir dirname             # additional directory for Rez #include/Include/Read/$$Resource/$$Read files
  2268.     -ignore dirname         # ignore files from this directory (eg. {CIncludes})
  2269.     -objdir dirname         # directory for object files (default: the current directory)
  2270.     -objext extension       # object file extension (default: ".o")
  2271.     -p                      # write progress information to diagnostics
  2272.     -quote on | off         # control quoting of filenames (default: on)
  2273.     -w                      # suppress warning messages
  2274.  
  2275.     source_files are specified as source file names:
  2276.         :Sources:main.c
  2277.  
  2278.     explicit_dependencies are specified as dependency rules:
  2279.         :LibFiles:CommonLib.o ƒ :SourceFiles:CommonRoutines.c
  2280.  
  2281. -
  2282. MakeErrorFile   # create error message textfile
  2283. MakeErrorFile [option…] [file…]  < file > listing ≥ progress
  2284.     -l                      # write listing to standard output
  2285.     -o file/dir             # output file or directory
  2286.     -p                      # write progress information to diagnostics
  2287.  
  2288. -
  2289. MakeFlat        # flatten a segmented shared library created by ILink 
  2290. MakeFlat [option…] inputFile ≥ progress
  2291.     -h[elp]                 # display this help info
  2292.     -o                      # specify output file
  2293.     -omitseghdrs            # omit segment headers in the output file
  2294.     -p                      # enable progress messages
  2295.     -packdata off           # don't compress the PEF container's data section
  2296.     -packdata on            # compress the PEF container's data section (default)
  2297.     -packdata faster        # use a potentially faster compression algorithm
  2298.     -share shareMode        # set data section sharing mode (shareMode) to one of:
  2299.             context         #    shared within a context (default)
  2300.             global          #    shared across all contexts
  2301.     -w                      # disable warning messages
  2302.  
  2303. -
  2304. MakePEF         # XCOFF to PEF converter
  2305. MakePEF [option…] file
  2306. (number arguments are read in decimal unless preceded by 0x ie:0x100 = hex 100)
  2307.     -a n                    # align code & data sections to n byte boundary (def=8)
  2308.     -b                      # expand bss into zeroed data (def=no)
  2309.     -c n                    # set current-version to n (def=0)
  2310.     -e name                 # set entry point to routine name (def=what-XCOFF-says)
  2311.     -d n                    # set definition version to n (def=0)
  2312.     -ft type                # set output file type to "type"  (e.g. APPL)
  2313.     -fc creator             # set output file creator to "creator"  (e.g. PETE)
  2314.     -f fname                # use file fname to load additional export list
  2315.     -i name                 # set initialization routine to procedure name (def=none)
  2316.     -k                      # keep init, term & main routines as export symbols
  2317.                             #   (def=remove)
  2318.     -l oldname[=newname][#vers[-upfv]][!]   # change imported library with
  2319.                             # name oldname:
  2320.             =newname        #   to newname
  2321.             #vers           #   to current-version vers (# required)
  2322.             -upfv           #   to up-from-version upfv
  2323.             !               #   to init before
  2324.     -n                      # pad exported loader symbols with trailing null
  2325.                             #   (def=nonull)
  2326.     -o fname                # set the target output file name (def=a.peff)
  2327.     -r                      # mark data section as read-only (def=read-write)
  2328.     -s n                    # set share option of data section to n (def=contextShare)
  2329.     -t name                 # set termination routine to procedure name (def=none)
  2330.     -u n                    # set implementation version to n (def=0)
  2331.     -v n=m                  # make section n have default virtual address m (def=0)
  2332.     -w n:nam                # make import name from file n weak (OK to be undef at
  2333.                             #   runtime)
  2334.     -x                      # turn off automatic data section packing
  2335.  
  2336. -
  2337. MakePPCCodeRsrc # create a PowerPC code resource from a PEF file
  2338. MakePPCCodeRsrc inputfile -rt restype=id [option…]
  2339.     -a[ppend]               # append the resource to the output file
  2340.     -c creator              # set the output file creator
  2341.     -o outputfile           # specify the output file (default: <inputfilename>.rsrc)
  2342.     -ov                     # ok to overwrite protected resource when appending
  2343.     -ra attributes          # specify the resource attributes
  2344.     -rawpef                 # don't add a resource descriptor
  2345.     -rn resname             # specify the resource name
  2346.     -rt restype=id          # specify the resource type and ID
  2347.     -t filetype             # set the output file type
  2348.  
  2349. -
  2350. MakeStub        # create a PowerPC, CFM-68K or fat stub library
  2351. MakeStub [option…] file… ≥ progress
  2352.     -arch fat  |            # create a fat stub library
  2353.           m68k |            # create a CFM-68K stub library
  2354.           pwpc              # create a PowerPC stub library (default)
  2355.     -c resType              # set output file creator (default: 'MPS ')
  2356.     -d                      # suppress duplicate symbol warnings
  2357.     -fragname name          # set fragment name (default: name of output file)
  2358.     -[no]mf                 # [don't] use temporary memory (default: nomf)
  2359.     -o fileName             # set output file name (default: MakeStub.out)
  2360.     -p                      # write progress information to diagnostics
  2361.     -t resType              # set output file type (default: 'stub')
  2362.     -vercur n               # set the "current version" to n (default: 0)
  2363.     -verdef n               # set the "definition version" to n (default: 0)
  2364.     -verimp n               # set the "implementation version" to n (default: 0)
  2365.     -w[arn]                 # suppress warning messages
  2366.     -weakstub on | off      # create a "weak" stub library (default: off)
  2367.  
  2368. -
  2369. MakeSYM         # extract debugging information from XCOFF
  2370. MakeSYM <XCOFFfile> [option…]
  2371.     -i directory            # specifies directory for source files (default=current dir.)
  2372.     -notypes                # don't include type information in xSYM file
  2373.     -o xsymfile             # name output xSYM file 'xsymfile' (default=<appname>.xSYM)
  2374.     -only sourcefile…       # include debugging info only from specified file(s)
  2375.     -p                      # write progress information to stderr
  2376.     -r                      # makes search for source files recursive
  2377.     -sym on | off | big     # enable/disable generation of symbolic debugging information.
  2378.                 off         #   disable generation of symbolic debugging information.
  2379.                 on          #   enable generation of symbolic debugging information.
  2380.                 big         #   use when PPCLink used the option -sym big
  2381.     -sym 3.2                # use the 3.2 SYM file format
  2382.     -sym 3.4                # use the 3.4 SYM file format (default)
  2383.     -v                      # display the MakeSYM version number
  2384.     -w                      # suppress warning messages. 
  2385.  
  2386. -
  2387. Mark            # assign a marker to a selection
  2388. Mark [-y | -n] selection name [window]
  2389.     -y                      # replace existing marker (avoids dialog)
  2390.     -n                      # don't replace existing marker (avoids dialog)
  2391.  
  2392. -
  2393. Markers         # list markers
  2394. Markers [-q] [window]
  2395.     -q                      # don't quote the marker names
  2396.  
  2397. -
  2398. MatchIt         # semi-intelligent language sensitive bracket matcher
  2399. MatchIt [-a[sm] | -p[ascal] | -c] [-h] [-l] [-n] [-v] [window]
  2400.     -a[sm]                  # target language is Assembler
  2401.     -p[ascal]               # target language is Pascal
  2402.     -c                      # target language is C
  2403.     -h                      # highlight all characters enclosed by match
  2404.     -l                      # highlight entire lines containing match
  2405.     -n                      # generate error message if no match
  2406.     -v                      # display MatchIt's version number
  2407.  
  2408. -
  2409. MergeBranch     # merge a branch revision onto the trunk
  2410. MergeBranch file
  2411.  
  2412. -
  2413. MergeFragment   # merge code fragments
  2414. MergeFragment [option…] [file…] target file
  2415.     -a                      # set 'cfrg' usage type to application
  2416.     -c                      # create default cfrg (meaningful only if no input files)
  2417.     -d                      # tag the data fork of the target in its 'cfrg' as not a                
  2418.                             #   code fragment
  2419.     -n name                 # use "name" for cfrg entry
  2420.     -p                      # report progress
  2421.     -r                      # create 'rseg' cfrg entry
  2422.     -t pwpc|m68k            # set architecture for created cfrg entry (default=pwpc)
  2423.     -u                      # set 'cfrg' updateLevel to update library
  2424.     -x                      # delete any existing 'cfrg' entry in the target
  2425.     -z                      # truncate the data fork of the target file before merging
  2426.  
  2427. -
  2428. ModifyReadOnly  # enables read-only Projector files to be edited
  2429. ModifyReadOnly file…
  2430.     
  2431. -
  2432. ModPEF          # extract, delete and/or modify PEF fragments
  2433. ModPEF [option…] file ≥ progress
  2434.     -@addexports fragSpec=fileName        # add exported symbols to fragment
  2435.     -@alias fragSpec=fileName             # add export aliases to fragment
  2436.     -c resType                            # set output file creator
  2437.     -delete fragSpec[,fragSpec]…          # delete fragments
  2438.     -deleteexports fragSpec=name[,name]…  # delete exported symbols from fragment
  2439.     -@deleteexports fragSpec=fileName     # delete exported symbols from fragment
  2440.     -describe on | off                    # describe changes (default: on)
  2441.     -extract fragSpec[,fragSpec]…         # extract fragments
  2442.     -[no]initbefore fragSpec=name[,name]… # modify fragment's "initbefore" settings
  2443.     -level fragSpec=base | update         # change fragment's "level"
  2444.     -list                                 # list contents of input file
  2445.     -mergecode on | off                   # make code sections adjacent (default: off)
  2446.     -[no]mf                               # [don't] use temporary memory (default: nomf)
  2447.     -o fileName                           # set output file name
  2448.     -p                                    # write progress information to diagnostics
  2449.     -renamefrag fragSpec=name             # rename a fragment
  2450.     -@renamesymbols fragSpec=fileName     # rename fragment's imported/exported symbols
  2451.     -share fragSpec=context | global | protected | aNumber
  2452.                                           # change fragment's data section sharing
  2453.     -stacksize fragSpec=aNumber           # change fragment's stack size
  2454.     -t resType                            # set output file type
  2455.     -usage fragSpec=lib[rary] | app[lication] | dropin | stub | weakstub | aNumber
  2456.                                           # change fragment's usage type
  2457.     -v                                    # use verbose progress (implies -p)
  2458.     -vercur fragSpec=aNumber              # change fragment's current version
  2459.     -verdef fragSpec=aNumber              # change fragment's definition version
  2460.     -verimp fragSpec=aNumber              # change fragment's implementation version
  2461.     -w[arn]                               # suppress warning messages
  2462.     -[no]weak fragSpec=name[,name]…       # modify fragment's weak imports
  2463.     -@[no]weak fragSpec=fileName          # modify fragment's weak imports
  2464.     -[no]weaklib fragSpec=name[,name]…    # modify fragment's weak libraries
  2465.  
  2466.     A "fragSpec" identifies a particular fragment within a file. Its syntax is -
  2467.     fragSpec  ::=  fragName[(fragInfo[,fragInfo]…)]
  2468.  
  2469.     A "fragName" is the name of a fragment and is case-sensitive. Its syntax is -
  2470.     fragName  ::=  characters other than '(', ')', '=' and ','
  2471.     fragName  ::=  '*'                    # matches any fragment name
  2472.  
  2473.     A "fragInfo" provides additional information which is used to identify a
  2474.     particular fragment within a file. Its syntax is -
  2475.     fragInfo  ::=  [arch=]pwpc       | [arch=]m68k           | arch=aNumber   |
  2476.                    [usage=]lib[rary] | [usage=]app[lication] | [usage=]dropin |
  2477.                    [usage=]stub      | [usage=]weakstub      | usage=aNumber  |
  2478.                    [level=]base      | [level=]update        | level=aNumber  |
  2479.                    vercur=aNumber    | verdef=aNumber
  2480.  
  2481. -
  2482. Monitors        # show coordinates of monitor rectangle
  2483. Monitors [Monitor #]…
  2484.  
  2485. -
  2486. Mount           # mount volumes
  2487. Mount drive…
  2488.  
  2489. -
  2490. MountProject    # mount projects
  2491. MountProject ([-s] [-pp] [-q] [-r]) | [Project [-only]]
  2492.     -only                   # do not mount subprojects
  2493.     -s                      # print names only, not commands
  2494.     -pp                     # list mounted projects using project paths
  2495.     -q                      # don't quote names with special characters
  2496.     -r                      # list projects recursively
  2497.  
  2498. -
  2499. Move            # move files and directories
  2500. Move [-y | -n | -c] [-p] name… target  ≥ progress
  2501.     -y                      # overwrite target files (avoids dialog)
  2502.     -n                      # don't overwrite target files (avoids dialog)
  2503.     -c                      # cancel if conflict occurs (avoids dialog)
  2504.     -p                      # write progress information to diagnostics
  2505.     -rs                     # resolve leaf aliases in the source path(s)
  2506.     -rt                     # resolve leaf aliases in the target path
  2507.     -f                      # preserve Finder icon locations
  2508.  
  2509. -
  2510. MoveWindow      # move window to h,v location
  2511. MoveWindow [h v] [-i] [window]
  2512.     h                       # horizontal position of top left corner
  2513.     v                       # vertical position of top left corner
  2514.     -i                      # ignore positioning errors
  2515.  
  2516. -
  2517. MrC              # C Compiler for Macintosh On RISC
  2518. MrC [option…] file
  2519.     -alias off              # Disable pointer alias analysis (default)
  2520.     -alias [addr]           # Enable pointer alias analysis by distinct address
  2521.            [,ansi]          # Enable pointer alias analysis by ANSI rules
  2522.            [,type]          # Enable pointer alias analysis by data type
  2523.     -align power            # specify power alignment for data structures (default)
  2524.     -align mac68k           # specify 68K alignment for data structures
  2525.     -align byte | packed    # use byte alignment for data structures
  2526.     -alloca                 # recognize 'alloca' as a built in function
  2527.     -ansi off               # don't enforce strict ANSI compatibility (see the Symantec C/C++ for MPW
  2528.                             #  Users Guide.)
  2529.     -ansi on | relaxed      # size of enums is determined by minimum size needed to
  2530.                             #   store the enum values. The following keywords will not
  2531.                             #   be recognized: “__handle”, “_inf”, “__nan”, “__nans”,
  2532.                             #   “__machdl”, “asm”, and “pascal”. (See MrC/MrCpp Release 
  2533.                             #   Notes for complete list of features and restrictions.) 
  2534.     -ansi strict            # same as -ansi on, but size of enums is always an int
  2535.     -asm                    # generate an assembly listing of the generated code
  2536.     -char signed            # treat char type as signed (default)
  2537.     -char unsigned          # treat char type as unsigned
  2538.     -char unsignedx         # treat char type as unsigned, and sign extend the values
  2539.     -c                      # Syntax check only.  No XCOFF file is generated.
  2540.     -curdir                 # use current (working) directory for the compiler temporary
  2541.                             #   and output files.  The -y option has precedence over the -currdir option.
  2542.     -d[efine] name          # define a preprocessing symbol. Equivalent to #define name 1.
  2543.     -d[efine] name=value    # define a preprocessing symbol. Equivalent to #define name value.
  2544.     -dump[c] filename       # save the state of the compilation in the specified file
  2545.     -e                      # if -l is specified, show macro expansions in listing
  2546.     -enum int               # use int-sized enumeration types
  2547.     -enum min               # use minimum-sized enumeration types, same as 68K (default unless -ansi strict is on)
  2548.     -export_list filename   # specify the file which contains a list of the shared library's exported entry points
  2549.                             #  (used in conjunction with -shared_lib_export). default: <source filename>.x
  2550.     -fatext                 # add “.ppc.o” extension to object filename instead of “.o”
  2551.     -fp_contract on         # generate multiply-add-fused instructions (default)
  2552.     -maf on                 #    "               "             "           "
  2553.     -fp_contract off        # don't generate multiply-add-fused instructions
  2554.     -maf off                #   "      "               "             "
  2555.     -i pathname[,pathname…] # search for include files in directory specified by pathname
  2556.     -ieee relaxed | strict  # control strict adherence to IEEE floating point semantics
  2557.     -ignorepragma id,…      # ignore #pragmas with the specified #pragma id's
  2558.     -inclpath normal | std  # treat <...> includes as system includes
  2559.               | standard    #   "     "      "      "   "       "
  2560.     -inclpath ignoresys |   # treat <...> includes exactly like "..." includes
  2561.               ignoresystem |#   "     "      "        "      "    "       "
  2562.               nosys |       #   "     "      "        "      "    "       "
  2563.               nosystem      #   "     "      "        "      "    "       "
  2564.     -includes mac |         # controls how to interpret #include pathnames (mac is default)
  2565.               dos |         #   convert DOS pathnames to Mac pathnames
  2566.               unix          #   convert Unix pathnames to Mac pathnames
  2567.     -inline all             # functions are inlined wherever possible, regardless of cost 
  2568.     -inline on              # functions are inlined as defined in the C++ source (default) 
  2569.     -inline none | off      # inlining of C++ function expansions will be suppressed
  2570.     -inline 0 | 1 | 2 | 3 | # sets complexity limit on functions to be inlined.
  2571.             4 | 5           #
  2572.     -ir pathname[,…]        # recursively search for include files in directory specified by pathname
  2573.     -j0                     # accept two byte sequences for Japanese
  2574.     -j1                     # accept two byte sequences for Taiwanese or Chinese
  2575.     -j2                     # accept two byte sequences for Korean
  2576.     -l filename             # generates a listing to the specified file (need -e for macro expansions)
  2577.     -ldsize 64 | 128        # determines the size of long doubles (default = 64)  
  2578.     -load[c] filename       # restore the state of the compilation from the specified file
  2579.     -longlong off           # disable support of long long types
  2580.     -longlong on            # support long long types (default)
  2581.     -make filename          # generate Make dependency rules into the specified file
  2582.     -noMapCR                # changes the default mapping of \n to 0x0A and \r to 0x0D
  2583.     -notOnce                # allow multiple copies of header files
  2584.     -o filename | dirname:  # specify output filename or directory
  2585.     -opt off                # suppress all optimizations (default with -sym on)
  2586.     -opt local              # perform local optimizations (default with -sym off)
  2587.     -opt size               # optimize for size
  2588.        [,warn_uninit]       #   warn about variables which are definitly used before being set
  2589.        [,warn_maybe_uninit] #   warn about variables which may used before set
  2590.        [,ok_to_reduce_opt]  #   warn about reducing optimization level due to low memory
  2591.     -opt speed              # optimize for speed
  2592.        [,unroll]            #   as above, plus loop unrolling
  2593.        [,unswitch]          #   as above, apply loop unswitching
  2594.        [,norep]             #   as above, but do not repeatedly apply global copy propagation
  2595.                             #     and redundant store elimination
  2596.        [,nointer]           #   as above, but no interprocedural optimizations
  2597.        [,warn_uninit]       #   warn about variables which are definitly used before being set
  2598.        [,warn_maybe_uninit] #   warn about variables which may used before set
  2599.        [,ok_to_reduce_opt]  #   warn about reducing optimization level due to low memory
  2600.     -p                      # output progress information to the standard error file
  2601.     -poolstringsbyfunc      # string constants are associated with their functions instead of compilation unit
  2602.     -prefix pathname        # #include the specified file(s) prior to reading the first source file.
  2603.                [,pathname…] #
  2604.     -proto strict           # require function prototypes
  2605.     -proto auto             # automatically generate function prototypes (default)
  2606.     -shared_lib_export on   # create a shared library and create file that contains entry point list
  2607.     -shared_lib_export off  # don't create shared library (default)
  2608.     -sym off                # disable generation of symbolic debugging information (default)
  2609.     -sym on | full          # enable generation of symbolic debugging information
  2610.         [,nolines]          #   omit source line information
  2611.         [,notypes]          #   omit type information
  2612.         [,novars]           #   omit variable information
  2613.         [,alltypes]         #   generate type information for all types (including unreferenced types)
  2614.     -t                      # display compilation time
  2615.     -target ppc | powerpc   # generate code for PowerPC architecture
  2616.     -target power           # generate code for Power architecture
  2617.     -target 601             # generate code for PowerPC 601
  2618.     -target 603             # generate code for PowerPC 603
  2619.     -target 604             # generate code for PowerPC 604
  2620.     -tb on                  # generate IBM RS/6000 traceback tables (same as -traceback)
  2621.     -tb pragma              # generate IBM RS/6000 traceback tables only for #pragma traceback functions 
  2622.     -tb exp[ort]            # generate IBM RS/6000 traceback tables only for #pragma export functions
  2623.     -tb outofline           # generate IBM RS/6000 traceback tables only for #pragma outofline functions
  2624.     -traceback              # generate IBM RS/6000 traceback tables
  2625.     -typecheck strict       # perform strict type checking (default).
  2626.     -typecheck relaxed      # perform relaxed type checking
  2627.     -u all                  # #undef all predefined non-ANSI macros
  2628.     -u name[,…]             # #undef name, where name is a predefined non-ANSI macro name
  2629.     -unique_strings         # force all string constants to be unique
  2630.     -vec[tor] off           # do not accept vector functions and types (default)
  2631.     -vec[tor] on            # accept vector functions and types
  2632.       [,vrsave |            #   maintain VRsave in prologs and epilogs (default if -vector on)
  2633.        ,novrsave]           #   do not maintain VRsave in prologs and epilogs
  2634.     -w off                  # suppress all warnings
  2635.     -w [is]err[or]          # treat warnings as errors
  2636.     -w n1[,n2…]             # suppress the specified warning messages
  2637.     -x                      # continue past the normal maximum error limit (4)
  2638.     -y directory            # write compiler temporary and object files to directory (default:same as source file)
  2639.  
  2640. -
  2641. MrCpp              # C++ Compiler for Macintosh On RISC
  2642. MrCpp [option…] file
  2643.     -alias off              # Disable pointer alias analysis (default)
  2644.     -alias [addr]           # Enable pointer alias analysis by distinct address
  2645.            [,ansi]          # Enable pointer alias analysis by ANSI rules
  2646.            [,type]          # Enable pointer alias analysis by data type
  2647.     -align power            # specify power alignment for data structures (default)
  2648.     -align mac68k           # specify 68K alignment for data structures
  2649.     -align byte | packed    # use byte alignment for data structures
  2650.     -alloca                 # recognize 'alloca' as a built in function
  2651.     -ansi off               # don't enforce strict ANSI compatibility (see the Symantec C/C++ for MPW
  2652.                             #  Users Guide.)
  2653.     -ansi on | relaxed      # size of enums is determined by minimum size needed to
  2654.                             #   store the enum values. The following keywords will not
  2655.                             #   be recognized: “__handle”, “_inf”, “__nan”, “__nans”,
  2656.                             #   “__machdl”, “asm”, and “pascal”. (See MrC/MrCpp Release 
  2657.                             #   Notes for complete list of features and restrictions.) 
  2658.     -ansi strict            # same as -ansi on, but size of enums is always an int
  2659.     -ansifor                # limit for-statement declared initializer to the for body
  2660.     -aslm                   # for ASLM compatibility, reverts to old vtable format(incompatible with exceptions)
  2661.     -asm                    # generate an assembly listing of the generated code
  2662.     -bool on                # enable C++ 'bool', 'true', and 'false' as standard keywords 
  2663.     -bool off               # 'bool', 'true', 'false' are normal identifiers (default)
  2664.     -char signed            # treat char type as signed (default)
  2665.     -char unsigned          # treat char type as unsigned
  2666.     -char unsignedx         # treat char type as unsigned, and sign extend the values
  2667.     -c                      # Syntax check only.  No XCOFF file is generated.
  2668.     -curdir                 # use current (working) directory for the compiler temporary
  2669.                             #   and output files.  The -y option has precedence over the -currdir option.
  2670.     -d[efine] name          # define a preprocessing symbol. Equivalent to #define name 1.
  2671.     -d[efine] name=value    # define a preprocessing symbol. Equivalent to #define name value.
  2672.     -dump[c] filename       # save the state of the compilation in the specified file
  2673.     -e                      # if -l is specified, show macro expansions in listing
  2674.     -EH                     # enable exception handling (same as -exceptions on) 
  2675.     -enum int               # use int-sized enumeration types
  2676.     -enum min               # use minimum-sized enumeration types, same as 68K (default unless -ansi strict is on)
  2677.     -ER                     # enable run-time type identification (RTTI, same as -rtti on)
  2678.     -exceptions on | off    # enable/disable exception handling (default off)
  2679.     -export_list filename   # specify the file which contains a list of the shared library's exported entry points
  2680.                             #  (used in conjunction with -shared_lib_export). default: <source filename>.x
  2681.     -fatext                 # add “.ppc.o” extension to object filename instead of “.o”
  2682.     -fp_contract on         # generate multiply-add-fused instructions (default)
  2683.     -maf on                 #    "               "             "           "
  2684.     -fp_contract off        # don't generate multiply-add-fused instructions
  2685.     -maf off                #   "      "               "             "
  2686.     -i pathname[,pathname…] # search for include files in directory specified by pathname
  2687.     -ieee relaxed | strict  # control strict adherence to IEEE floating point semantics
  2688.     -ignorepragma id,…      # ignore #pragmas with the specified #pragma id's
  2689.     -inclpath normal | std  # treat <...> includes as system includes
  2690.               | standard    #   "     "      "      "   "       "
  2691.     -inclpath ignoresys |   # treat <...> includes exactly like "..." includes
  2692.               ignoresystem |#   "     "      "        "      "    "       "      
  2693.               nosys |       #   "     "      "        "      "    "       "  
  2694.               nosystem      #   "     "      "        "      "    "       "
  2695.     -includes mac |         # controls how to interpret #include pathnames (mac is default)
  2696.               dos |         #   convert DOS pathnames to Mac pathnames
  2697.               unix          #   convert Unix pathnames to Mac pathnames
  2698.     -inline all             # functions are inlined wherever possible, regardless of cost 
  2699.     -inline on              # functions are inlined as defined in the C++ source (default) 
  2700.     -inline none | off      # inlining of C++ function expansions will be suppressed
  2701.     -inline 0 | 1 | 2 | 3 | # sets complexity limit on functions to be inlined.
  2702.             4 | 5           #
  2703.     -ir pathname[,…]        # recursively search for include files in directory specified by pathname
  2704.     -j0                     # accept two byte sequences for Japanese
  2705.     -j1                     # accept two byte sequences for Taiwanese or Chinese
  2706.     -j2                     # accept two byte sequences for Korean
  2707.     -l filename             # generates a listing to the specified file (need -e for macro expansions)
  2708.     -ldsize 64 | 128        # determines the size of long doubles (default = 64)  
  2709.     -load[c] filename       # restore the state of the compilation from the specified file
  2710.     -longlong off           # disable support of long long types
  2711.     -longlong on            # support long long types (default)
  2712.     -make filename          # generate Make dependency rules into the specified file
  2713.     -noMapCR                # changes the default mapping of \n to 0x0A and \r to 0x0D
  2714.     -notOnce                # allow multiple copies of header files
  2715.     -o filename | dirname:  # specify output filename or directory
  2716.     -opt off                # suppress all optimizations (default with -sym on)
  2717.     -opt local              # perform local optimizations (default with -sym off)
  2718.     -opt size               # optimize for size
  2719.        [,warn_uninit]       #   warn about variables which are definitly used before being set
  2720.        [,warn_maybe_uninit] #   warn about variables which may used before set
  2721.        [,ok_to_reduce_opt]  #   warn about reducing optimization level due to low memory
  2722.     -opt speed              # optimize for speed
  2723.        [,unroll]            #   as above, plus loop unrolling
  2724.        [,unswitch]          #   as above, apply loop unswitching
  2725.        [,norep]             #   as above, but do not repeatedly apply global copy propagation
  2726.                             #     and redundant store elimination
  2727.        [,nointer]           #   as above, but no interprocedural optimizations
  2728.        [,warn_uninit]       #   warn about variables which are definitly used before being set
  2729.        [,warn_maybe_uninit] #   warn about variables which may used before set
  2730.        [,ok_to_reduce_opt]  #   warn about reducing optimization level due to low memory
  2731.     -p                      # output progress information to the standard error file
  2732.     -poolstringsbyfunc      # string constants are associated with their functions instead of compilation unit
  2733.     -prefix pathname        # #include the specified file(s) prior to reading the first source file.
  2734.                [,pathname…] #
  2735.     -rtti on | off          # enable/disable run-time type information (RTTI, default on)
  2736.     -shared_lib_export on   # create a shared library and create file that contains entry point list
  2737.     -shared_lib_export off  # don't create shared library (default)
  2738.     -som                    # enable direct-to-SOM
  2739.     -sym off                # disable generation of symbolic debugging information (default)
  2740.     -sym on | full          # enable generation of symbolic debugging information
  2741.         [,nolines]          #   omit source line information
  2742.         [,notypes]          #   omit type information
  2743.         [,novars]           #   omit variable information
  2744.         [,alltypes]         #   generate type information for all types (including unreferenced types)
  2745.     -t                      # display compilation time
  2746.     -target ppc | powerpc   # generate code for PowerPC architecture
  2747.     -target power           # generate code for Power architecture
  2748.     -target 601             # generate code for PowerPC 601
  2749.     -target 603             # generate code for PowerPC 603
  2750.     -target 604             # generate code for PowerPC 604
  2751.     -tb on                  # generate IBM RS/6000 traceback tables (same as -traceback)
  2752.     -tb pragma              # generate IBM RS/6000 traceback tables only for #pragma traceback functions 
  2753.     -tb exp[ort]            # generate IBM RS/6000 traceback tables only for #pragma export functions
  2754.     -tb outofline           # generate IBM RS/6000 traceback tables only for #pragma outofline functions
  2755.     -traceback              # generate IBM RS/6000 traceback tables
  2756.     -u all                  # #undef all predefined non-ANSI macros
  2757.     -u name[,…]             # #undef name, where name is a predefined non-ANSI macro name
  2758.     -unique_strings         # force all string constants to be unique
  2759.     -vec[tor] off           # do not accept vector functions and types (default)
  2760.     -vec[tor] on            # accept vector functions and types
  2761.       [,vrsave |            #   maintain VRsave in prologs and epilogs (default if -vector on)
  2762.        ,novrsave]           #   do not maintain VRsave in prologs and epilogs
  2763.     -w off                  # suppress all warnings
  2764.     -w [is]err[or]          # treat warnings as errors
  2765.     -w n1[,n2…]             # suppress the specified warning messages
  2766.     -x                      # continue past the normal maximum error limit (4)
  2767.     -xa public              # template expansions have public scope (default)
  2768.     -xa static              # template expansions have static scope
  2769.     -xa extern              # templates are not expanded in the current compilation unit
  2770.     -xi spec                # instantiate the specified template
  2771.     -y directory            # write compiler temporary and object files to directory (default:same as source file)
  2772.  
  2773. -
  2774. MrPlus  # Post-link analysis of a Macintosh PowerPC™ executable for code coverage or performance
  2775. MrPlus [option…] PEFfile
  2776.    -instrument branches |  # instrument all arcs
  2777.                calls |     # instrument function calls only
  2778.                exports |   # trace calls to exports (requires InstrumentationLib)
  2779.                imports |   # trace calls to imports (requires InstrumentationLib)
  2780.                loads |     # detect attempts to load from low memory (0-32K)
  2781.                stores |    # detect attempts to store in low memory (0-32K)
  2782.                none        # do not instrument any code
  2783.    | -monitor icache |     # enable hardware counters to display instruction and cache 
  2784.                            #   miss (604 only) counts
  2785.               none         # disable hardware counters
  2786.    | -arrange routines |   # rearrange routines relative to each other to improve instruction 
  2787.                            #   caching and reduce the number of page faults.  Requires pmap 
  2788.                            #   and dynamic count input files
  2789.               blocks |     # same as preceding option with unexecuted blocks of routines 
  2790.                            #   placed at end of code section
  2791.               none         # do not arrange any code
  2792.    | -opt static[,size] |  # do static optimizations such as removing superfluous NOPs 
  2793.                            #   after local function calls and sharing non-trivial epilog 
  2794.                            #   code from multiple return routines
  2795.           dynamic[,size] | # same as preceding option with additional branching
  2796.                            #   optimizations based on dynamic data;
  2797.                            #   requires pmap and dynamic count input files
  2798.           none             # do not optimize any code 
  2799.    -arrout arrfile         # specify name of "link order" text file produced by 
  2800.                            #   -arrange modes; default is "PEFfile.arr".
  2801.    -cntin PCNTfile         # specify name of input count file (-arrange or -opt dynamic 
  2802.                            #   modes); default is "PEFfile.pcnt". Fragment terminates (-instrument
  2803.                            #   call/branches modes); default is "PEFfile.pcnt"
  2804.    -exclude INEXfile       # specify name of input text file listing functions to exclude 
  2805.                            #   when instrumenting for
  2806.                            #   imports or exports; default is to exclude no functions
  2807.    | -include INEXfile     # specify name of input text file listing functions to 
  2808.                            #   instrument for imports or exports;
  2809.                            #   default is to include all functions
  2810.    -fragout outPEFfile     # specify name of output PEF file; default names are 
  2811.                            #   "PEFfile.prof" for -instrument modes,
  2812.                            #   "PEFfile.mon" for -monitor mode, "PEFfile.opt" for -opt modes 
  2813.    -mapin PMAPfile         # specify name of input pmap file (-arrange or -opt dynamic modes); 
  2814.                            #   default is "PEFfile.pmap"
  2815.    -mapout PMAPfile        # specify name of output pmap file that encodes mapping of the 
  2816.                            #   software counters (-instrument
  2817.                            #   call/branches modes); default is "PEFfile.pmap" in the same 
  2818.                            #   directory as "PEFfile"
  2819.    -member name            # specify name of specific fragment to be processed within a 
  2820.                            #   multi-fragment PEFfile
  2821.    -progress               # write to stderr additional details about progress in 
  2822.                            #   processing the PEFfile
  2823.    -report glue            # report occurrences of linker-generated glue routines that 
  2824.                            #   enable cross-TOC calls
  2825.    -report imix            # report the static or dynamic occurrence count of classes 
  2826.                            #   of instructions; dynamic counts are reported only if 
  2827.                            #   the -opt dynamic or -arrange options are used
  2828.    -report regs            # report static register usages.
  2829.    -report unwind          # indicate how many functions save LR, CR, General Registers, 
  2830.                            #   and/or FPRs
  2831.    -report web             # indicate for code flow entering PEFfile which imports could 
  2832.                            #   possibly be invoked
  2833.    -xcin XCOFFfile         # specify name of optional input XCOFF file; default 
  2834.                            #   is "PEFfile.xcoff"
  2835.    -xcout XCOFFfile        # specify name of output XCOFF file; default is "outPEFfile.xcoff" 
  2836.                            #   (see -fragout option above for default output PEF file 
  2837.                            #   naming conventions)
  2838.  
  2839. -
  2840. MultiSearch # find multiple patterns in text files in a directory tree
  2841. MultiSearch (-t target_dir  | -j target_dir) 
  2842.                 (-f path | pattern…) [-q | -v] [-p] [-i | -s] [-rp | -rf] 
  2843.     -t target_dir           # the path to the base directory to be recursively
  2844.                             # searched.
  2845.     -j target_dir           # the path to the directory to be searched.  Only
  2846.                             # the specified directory will be searched.
  2847.     -f path                 # the path to a text file containing the patterns,
  2848.                             # words, or phrases to search for.  Patterns may
  2849.                             # not be specified on the command line if this
  2850.                             # option is used. The file should contain a space
  2851.                             # or line separated list of patterns and string 
  2852.                             # literals.  Note that normal MPW quoting and
  2853.                             # pattern matching rules apply, for example:
  2854.                             #
  2855.                             #   fred joe
  2856.                             #   /whoever≈/
  2857.                             #
  2858.                             # contains three patterns, 'fred', 'joe', and
  2859.                             # '/whoever≈/', while the following:
  2860.                             #
  2861.                             #   'fred joe'
  2862.                             #   /whoever≈/
  2863.                             #
  2864.                             # contains two patterns, 'fred joe' and /whoever≈/
  2865.     pattern…                    # is a list of one or more patterns or string
  2866.                             # literals to search for.  Patterns may not be
  2867.                             # specified on the command line if the -f option
  2868.                             # is used.
  2869.     -q                      # specifies that the report should contain just the
  2870.                             # matched text.  By default, MPW commands are
  2871.                             # generated with the matched text appended as a
  2872.                             # comment.  The -q option may not be specified with
  2873.                             # the -v option.
  2874.     -v                      # specifies that a verbose report should be generated.
  2875.                             # The matched text is shown on one line and MPW
  2876.                             # commands to locate it are given on a separate line.
  2877.                             # The -v option may not be specified with the -q
  2878.                             # option.
  2879.     -p                      # Print progress and copyright information.  Included
  2880.                             # in the progress report is information on which
  2881.                             # files do not contain the search patterns
  2882.     -i                      # specifies that all matches are to be case-
  2883.                             # insensitive.  By default, case sensitivity is
  2884.                             # determined by the value of the {CaseSensitive}
  2885.                             # shell variable.  This option may not be used with
  2886.                             # -s.
  2887.     -s                      # specifies that all matches are to be case-sensitive.
  2888.                             # By default, case sensitivity is determined by the
  2889.                             # value of the {CaseSensitive} shell variable.  This
  2890.                             # option may not be used with -i.
  2891.     -rp                     # report will be grouped by patterns
  2892.     -rf                     # report will be grouped by file (default)
  2893.  
  2894. -
  2895. NameRevisions   # define a symbolic name
  2896. NameRevisions [-u User] [-project Project] [-public | -private | -b] [-r]
  2897.         [-comments] [[-only] | name [[-expand] [-s] | [-replace] [-dynamic]
  2898.         [names… | -a]] [-cs comment | -cf file]]
  2899.     -u user                 # name of current user
  2900.     -project project        # name of project that contains the revisions
  2901.     -public                 # create a public name (the default)
  2902.     -private                # create a private name
  2903.     -b                      # print both public and private names
  2904.     -r                      # recursively execute NameRevisions starting with current project
  2905.     -comments               # print comments
  2906.     -only                   # only print the names, not the associated revisions
  2907.     -expand                 # evaluate names to revision level before printing
  2908.     -s                      # print a single name per line
  2909.     -replace                # completely overwrite the previous definition of name
  2910.     -dynamic                # evaluate names to revision level when using not defining
  2911.     -a                      # all the files in the project
  2912.     -cs comment             # a short description of the name
  2913.     -cf file                # the comment is contained in the file
  2914.  
  2915. -
  2916. New             # open a new window
  2917. New [-h] [name…]
  2918.     -h                      # open the window as hidden
  2919.  
  2920. -
  2921. Newer           # compare modification dates of files
  2922. Newer [option…] file… target > newer
  2923.     -c                      # compare creation dates
  2924.     -e                      # report names that have same (equal) mod date as target
  2925.     -q                      # don't quote file names with special characters
  2926.  
  2927. -
  2928. NewFolder       # create a new folder
  2929. NewFolder name…
  2930.  
  2931. -
  2932. NewKeyMap       # create alternate keyboard editor assignments
  2933.  
  2934. -
  2935. NewProject      # create a new project
  2936. NewProject -w | -close | ([-u user] [-cs comment | -cf file]
  2937.         [-dbv databaseVersion] project)
  2938.     -cf file                # the comment is contained in the file
  2939.     -close                  # close the New Project window
  2940.     -cs comment             # a short description of the project
  2941.     -w                      # open the New Project window
  2942.     -u user                 # name of current user
  2943.     -dbv databaseversion    # database version to create (2 or 3)
  2944.  
  2945. -
  2946. ObsoleteNameRevisions # mark a symbolic name obsolete
  2947. ObsoleteNameRevisions [-u User] [-project Project] [-r] [names… | -a]
  2948.     -u user                 # name of current user
  2949.     -project project        # name of project that contains the symbolic names
  2950.     -r                      # recursively obsolete names
  2951.     -a                      # all the symbolic names in the project
  2952.  
  2953. -
  2954. ObsoleteProjectorFile       # make a Projector file inactive
  2955. ObsoleteProjectorFile [option…] file…   
  2956.     -p                      # write progress information to standard output
  2957.     -u User                 # name of current user
  2958.     -project Project        # name of project that contains the files
  2959.                         
  2960. -
  2961. Open            # open file(s) in window(s)
  2962. Open [[-n | -r] [-t] [-h] | [-s] | [-f]] [name…]
  2963.     -n                      # open new file (default name Untitled)
  2964.     -r                      # open file for read-only use
  2965.     -t                      # open file as the target window
  2966.     -h                      # open the window as hidden
  2967.     -s                      # open the window in the Finder containing the file
  2968.     -f                      # use the Finder to open the file
  2969.  
  2970. -
  2971. OrphanFiles     # remove Projector information from a list of files
  2972. OrphanFiles file…
  2973.  
  2974. -
  2975. Parameters      # write parameters
  2976. Parameters [parameter…]  > parameters
  2977.  
  2978. -
  2979. Pascal          # Pascal compiler
  2980. Pascal [option…] [file…]  < file ≥ progress
  2981.     -b                      # generate A5 references for procedure addresses
  2982.     -c                      # syntax check only, don't create object file
  2983.     -clean                  # erase all symbol table resources
  2984.     -d name=(TRUE|FALSE)    # set compile time variable name
  2985.     -e file                 # write errors to file
  2986.     -forward                # allow only explicit forward and external object declarations
  2987.     -h                      # suppress error messages regarding unsafe handles
  2988.     -i directory,…          # search for includes in directory,…
  2989.     -k directory            # create symbol table resource files in directory
  2990.     -m                      # allow greater than 32K globals by using 32 bit references
  2991.     -mbg ch8                # include v2.0 compatible MacsBug symbols
  2992.     -mbg full               # include full (untruncated) symbols for MacsBug
  2993.     -mbg off                # don't include symbols for MacsBug
  2994.     -mbg number             # include MacsBug symbols truncated to length number
  2995.     -mc68020                # generate MC68020 code 
  2996.     -mc68881                # generate MC68881 code for floating point operations
  2997.     -model farCode|         # generate load-time relocatable 32-bit references for
  2998.         farData|far         #   code, data, or both
  2999.     -model nearCode|        # generate 16-bit references for code, data, or both 
  3000.         nearData|near       #   (the default)
  3001.     -n                      # generate separate global data modules for better allocation
  3002.     -noload                 # don't use or create any symbol table resources
  3003.     -o objname              # generate code in file or directory objname
  3004.     -only name…             # only generate code for named modules
  3005.     -opt off                # don't apply code optimizations
  3006.     -opt on | full          # choose level of code optimization (full is default);
  3007.                             #   can modify with [,nopeep] [,nostatic]   
  3008.     -ov                     # generate code to test for overflow
  3009.     -p                      # write progress information to diagnostics
  3010.     -r                      # don't generate range checking code
  3011.     -rebuild                # rebuild all symbol table resources
  3012.     -sym off                # don't generate symbolic records
  3013.     -sym on | full          # generate symbolic records; can modify with [,nolines] [,notypes] [,novars]
  3014.     -t                      # write compilation time to diagnostics
  3015.     -u                      # initialize all data to $7267 for debugging use
  3016.     -y directory            # create temporary files in directory
  3017.  
  3018. -
  3019. PasMat          # Pascal programs formatter
  3020. PasMat [option…] [input [output]]  < input > output ≥ progress
  3021.     -a                      # set a-  disable CASE label bunching
  3022.     -b                      # set b+  enable IF bunching
  3023.     -body                   # set body+ to disable indenting procedure bodies
  3024.     -c                      # set c+  suppress Return before BEGIN
  3025.     -d                      # set d+  use {…} comment delimiters
  3026.     -e                      # set e+  capitalize identifiers
  3027.     -entab                  # replace multiple blanks with tabs
  3028.     -f                      # set f-  disable formatting
  3029.     -g                      # set g+  group assignment and call statements
  3030.     -h                      # set h-  disable FOR, WHILE, WITH bunching
  3031.     -i directory,…          # search for includes in directory,…
  3032.     -in                     # set in+ process includes
  3033.     -k                      # set k+  indent statements between BEGIN and END
  3034.     -l                      # set l+  literally copy reserved words, identifiers
  3035.     -list file              # write listings to file
  3036.     -n                      # set n+  group formal parameters
  3037.     -o width                # set output line width (default 80)
  3038.     -p                      # write progress information to diagnostics
  3039.     -pattern -old-new-      # modify include names, changing old to new
  3040.     -q                      # set q+  no special ELSE IF formatting
  3041.     -r                      # set r+  upper case reserved words
  3042.     -rec                    # set rec+ to indent field lists under defined id
  3043.     -s file                 # substitute identifiers based on pairs in file
  3044.     -t tab                  # set output tab setting (default 2)
  3045.     -u                      # rename identifiers to match first occurence
  3046.     -v                      # set v+  put THEN on separate line
  3047.     -w                      # set w+  upper case identifiers
  3048.     -x                      # set x+  suppress space around operators
  3049.     -y                      # set y+  suppress space around :=
  3050.     -z                      # set z+  suppress space after commas
  3051.     -:                      # set :+  align colons in VAR declarations
  3052.     -@                      # set @+  multiple CASE tags on separate lines
  3053.     -∂#                     # set #+  smart grouping of assignments and calls
  3054.     -_                      # set _+  delete _ from identifiers
  3055.  
  3056. -
  3057. PasRef          # Pascal cross-referencer
  3058. PasRef [option…] [file…]  < file > crossReference ≥ progress
  3059.     -a                      # process includes and units each time encountered
  3060.     -c                      # process includes and units only once
  3061.     -cond                   # process $SETC and $IFC, $ELSEC, $ENDC conditionals
  3062.     -d                      # process each file separately
  3063.     -d name=TRUE|FALSE      # set $SETC variable name to TRUE or FALSE
  3064.     -i directory,…          # search for includes in directory,…
  3065.     -l                      # write identifiers in lower case
  3066.     -mc68020                # source contains {$IFC OPTION(MC68020)} directives
  3067.     -mc68881                # source contains {$IFC OPTION(MC68881)} directives
  3068.     -n                      # don't process USES or includes
  3069.     -ni | -noi[ncludes]     # don't process include files
  3070.     -nl | -nol[istings]     # don't list the input
  3071.     -nolex                  # don't write lexical information
  3072.     -nt | -not[otal]        # don't write total line count
  3073.     -nu | -nou[ses]         # don't process USES declarations   
  3074.     -o                      # source written using Object Pascal
  3075.     -p                      # write progress information to diagnostics
  3076.     -s                      # don't write include and USES filenames
  3077.     -t                      # cross reference by total line number
  3078.     -u                      # write identifiers in upper case
  3079.     -w width                # set output line width (default 110)
  3080.     -x width                # set maximum identifier width
  3081.  
  3082. -
  3083. Paste           # replace selection with Clipboard contents
  3084. Paste [-c count] selection [window]
  3085.     -c count                # repeat the Paste count times
  3086.  
  3087. -
  3088. PerformReport   # generate a performance report
  3089. PerformReport [option…]  > reportFile ≥ progress
  3090.     -a                      # list all procedures, in segment order
  3091.                             # (default: produce only partial list, sorted by %)
  3092.     -l linkDataFile         # read link map file (concatenated with ROM.list)
  3093.     -m measurementsFile     # read performance measurements file
  3094.                             # (default: "Perform.Out")
  3095.     -n NN                   # show the top NN procedures (default: 50)
  3096.     -p                      # write progress information to diagnostics
  3097.  
  3098. -
  3099. PlaySound      # play a sound ('snd ') resource
  3100. PlaySound [option…] [name…]
  3101.     -q                      # quiet - no error messages
  3102.     -f filename             # specify name of file containing 'snd ' resource
  3103.     name…                   # resource name of 'snd ' resource to play.
  3104.  
  3105. -
  3106. PopTag          # fetch top of FindTag stack
  3107. PopTag
  3108.  
  3109. -
  3110. Position        # display current line position
  3111. Position [-l | -c] [window…]
  3112.     -l                      # only list the line number
  3113.     -c                      # only list the character offsets
  3114.  
  3115. -
  3116. PPCAsm          # Assemble PowerPC 60x Assembly Language Code
  3117. PPCAsm [option…] file… > listing ≥ progress
  3118.     -auxheader 1L | RE | RO # generate auxiliary XCOFF header with specified module type
  3119.                             #    1L  = single use
  3120.                             #    RE  = reusable
  3121.                             #    RO  = read only
  3122.     -blocksize n            # set I/O buffer size to n*512 bytes
  3123.     -c[heck]                # syntax check - don't create an XCOFF file
  3124.     -case on | off          # control case sensitivity for labels (default: off) 
  3125.     -d[efine] id[=value],…  # define identifier(s) (default value: 1)                    
  3126.     -dialect type           # specify the default translation (e.g. Power, PowerPC)
  3127.     -i directory,…          # search for include files in specified directories
  3128.     -l                      # write listing to <stdout>
  3129.     -lo filename            # write listing to specified file
  3130.     -o filename             # output written to object file named <filename>
  3131.     -p                      # write progress information to stderr
  3132.     -sym on | off | man     # control debug symbol generation (default: man)
  3133.     -typecheck strict|on|off# control typecheck warnings (default: on)
  3134.     -w off | n1,n2…         # suppress all warnings or just the listed warnings
  3135.  
  3136. -
  3137. PPCLink         # link a PowerPC application, tool, shared library or static library
  3138. PPCLink [option…] file… ≥ progress
  3139.     -ac n                   # align code modules on n-byte (minimum) boundaries
  3140.     -ad n                   # align data modules on n-byte (minimum) boundaries
  3141.     -blocksize n            # set I/O buffer size to n*512 bytes
  3142.     -c resType              # set output file creator
  3143.     -codeorder source | reference | staticcall | segment | file=fileName
  3144.                             # order how routines are written to the output file
  3145.                             #    source     = same order as in input files
  3146.                             #    reference  = A calls B & C, B calls D, then A,B,C,D
  3147.                             #    staticcall = A calls B & C, B calls D, then A,B,D,C
  3148.                             #    segment    = order routines by segments (default)
  3149.                             #    file       = order routines as specified in text file
  3150.                             # Use of this option might improve the performance of the 
  3151.                             # linked application/shared library.
  3152.     -d                      # suppress warnings about duplicate symbol definitions
  3153.     -dead on | off          # exclude unused code and data from the output file
  3154.                             # default value depends on value of -xm flag as follows:
  3155.                             #    -xm executable      -dead on
  3156.                             #    -xm sharedlibrary   -dead on
  3157.                             #    -xm library         -dead off
  3158.     -@export fileName       # export symbols specified in text file, one symbol per line
  3159.     -export name[,name]…    # export the specified symbols
  3160.     -exportglue on | off    # generate glue for exported routines (default: on)
  3161.     -fragname name          # set PEF container fragment name (default: name of output file)
  3162.     -init default | none | name
  3163.                             # set initialization entry point
  3164.                             # default entry point depends on value of -xm flag as follows:
  3165.                             #    -xm executable        __init_app
  3166.                             #    -xm sharedlibrary     __init_lib
  3167.                             #    -xm library           no init entry point
  3168.     -initbefore name[,name]…# mark the specified import libraries as "init before"
  3169.                             # note - this option takes fragment names not file names
  3170.     -librename old=new      # rename import libraries
  3171.                             # note - this option takes fragment names not file names
  3172.     -linkfaster on | off    # space/time tradeoff (default: on for faster, uses more space)
  3173.     -m[ain] name            # set main entry point (default: __start)
  3174.     -map fileName           # write link map to specified file
  3175.     -[no]mf                 # [don't] use temporary memory (default: mf)
  3176.     -o fileName             # set output file name (default: PPCLink.out)
  3177.     -outputformat default | pef | xcoff
  3178.                             # set output format
  3179.                             # default value depends on value of -xm flag as follows:
  3180.                             #    -xm executable        -outputformat pef
  3181.                             #    -xm sharedlibrary     -outputformat pef
  3182.                             #    -xm library           -outputformat xcoff
  3183.                             # executables and shared libraries can be "xcoff" or "pef"
  3184.                             # static libraries can only be "xcoff"
  3185.     -p                      # write progress information to diagnostics
  3186.     -packdata on | off      # compress the data section (default: on)
  3187.     -profile on |           # enable collection of profiling/performance info at runtime
  3188.        off |                # disable profiling (default)
  3189.        exclude=name[,name]… # exclude specified routines from profiling
  3190.     -rodatais data | code | constant
  3191.                             # place read-only data in the specified section (default: data)
  3192.     -roistext on | off      # place read-only data in the .text/code section (default: off)
  3193.                             # The default is "off" because the .text/code section is
  3194.                             # not write-protected at runtime.
  3195.     -sg newSeg=old[,old]…   # merge old segments into newSeg
  3196.     -share context | global | protected
  3197.                             # set the sharing mode for the data section
  3198.                             #    context   = shared within a context (default)
  3199.                             #    global    = shared across all contexts
  3200.                             #    protected = readable by all contexts, writeable by privileged contexts
  3201.     -sym on|off|big|nobig   # include debug symbols (default: off)
  3202.                             # use -sym big if -sym on runs out of memory
  3203.     -t resType              # set output file type
  3204.     -term default | none | name
  3205.                             # set termination entry point
  3206.                             # default entry point depends on value of -xm flag as follows:
  3207.                             #    -xm executable        __term_app
  3208.                             #    -xm sharedlibrary     __term_lib
  3209.                             #    -xm library           no termination entry point
  3210.     -tocdataref on | off    # optimize runtime calculations of data addresses (default: on)
  3211.                             #   Edit instructions, converting "lzw" to "addi"
  3212.                             #   when the TOC entry being loaded is the address
  3213.                             #   of a variable within ±32k of the TOC anchor.
  3214.                             #   This optimization improves the performance of the
  3215.                             #   linked application/shared library by avoiding a
  3216.                             #   memory reference at runtime.
  3217.     -uf fileName            # report unused code and data symbols to specified file
  3218.     -unmangle on | off      # unmangle C++ symbols in link map and messages (default: on)
  3219.     -v                      # verbose progress (implies -p)
  3220.     -vercur n               # set PEF container "current version" to n (default: 0)
  3221.     -verdef n               # set PEF container "definition version" to n (default: 0)
  3222.     -verimp n               # set PEF container "implementation version" to n (default: 0)
  3223.     -w[arn]                 # suppress warning messages
  3224.     -@weak fileName         # mark imports specified in text file as "weak", one import per line
  3225.     -weak name[,name]…      # mark the specified imports as "weak"
  3226.     -weaklib name[,name]…   # mark the specified import libraries as "weak"
  3227.                             # note - this option takes fragment names not file names
  3228.     -xm e[xecutable] |      # generate an application or tool (default)
  3229.         l[ibrary] |         # generate a static library
  3230.         s[haredlibrary]     # generate a shared library
  3231.  
  3232. -
  3233. PPCProff        # analyze a .pgh file and display the results
  3234. PPCProff [option…] file… > output ≥ progress
  3235.    -cutoff n               # ignore procedures whose hierarchical times
  3236.                            # are less than n%. (default: 0.005)
  3237.    -[no]mf                 # [don't] use multifinder memory (default: nomf)
  3238.    -p                      # write progress information to diagnostics
  3239.    -procoffsets on | off   # display call site offsets/linenumbers (default: on)
  3240.    -sortorder keyword[,keyword]… # define how profile information is displayed
  3241.       flat                 #  sort routines by their flat times
  3242.       hier[archical]       #  sort routines by their hierarchical times (default)
  3243.       [calls]from          #  associate arcs with the called routine
  3244.       [calls]to            #  associate arcs with the calling routine (default)
  3245.    -unmangle on | off      # unmangle C++ symbols (default: on)
  3246.    -v                      # use verbose progress (implies -p)
  3247.    -w[arn]                 # suppress warning messages
  3248.    -xcoff fileName         # the name of the XCOFF file containing symbolics
  3249.    
  3250. -
  3251. Print           # print text files
  3252. Print [option…] file…  < file ≥ progress
  3253.     -b                      # print a border around the text
  3254.     -b2                     # alternate form of border
  3255.     -bm n[.n]               # bottom margin in inches (default 0)
  3256.     -c[opies] n             # print n copies
  3257.     -dialog                 # display standard print dialog
  3258.     -ff string              # treat "string" at beginning of line as a formfeed
  3259.     -f[ont] name            # print using specified font
  3260.     -from n                 # begin printing with page n
  3261.     -h                      # print headers (time, file, page)
  3262.     -hf[ont] name           # print headers using specified font
  3263.     -hs[ize] n              # print headers using specified font size
  3264.     -l[ines] n              # print n lines per page
  3265.     -lm n[.n]               # left margin in inches (default .2778)
  3266.     -ls n[.n]               # line spacing (2 means double-space)
  3267.     -md                     # use modification date of file for time in header
  3268.     -n                      # print line numbers to left of text
  3269.     -nw [-]n                # width of line numbers, - indicates zero padding
  3270.     -p                      # write progress information to diagnostics
  3271.     -page n                 # number pages beginning with n
  3272.     -ps filename            # include PostScript file as background for each page
  3273.     -q quality              # print quality (HIGH, STANDARD, DRAFT)
  3274.     -r                      # print pages in reverse order
  3275.     -rm n[.n]               # right margin in inches (default 0)
  3276.     -s[ize] n               # print using specified font size
  3277.     -t[abs] n               # consider tabs to be n spaces
  3278.     -title title            # include title in page headers
  3279.     -tm n[.n]               # top margin in inches (default 0)
  3280.     -to n                   # stop printing after page n
  3281.  
  3282. -
  3283. PrintProff      # analyze a .proff file and print the results
  3284. PrintProff TargetProgramName [-h | -f] [-p] [-c] [> outputFile]
  3285.     -h                      # hierarchical sort (default)
  3286.     -f                      # flat sort
  3287.     -c                      # for each procedure, list callees
  3288.     -p                      # write progress information to diagnostics
  3289.  
  3290. -
  3291. ProcNames       # display Pascal procedure and function names
  3292. ProcNames [option…] [file…]  < file ≥ progress
  3293.     -b                      # display line info for procedure body
  3294.     -c                      # process includes and units only once
  3295.     -cond                   # process $SETC and $IFC, $ELSEC, $ENDC conditionals
  3296.     -d                      # reset total line count to 1 on each new file
  3297.     -d name=TRUE|FALSE      # set $SETC variable name to TRUE or FALSE
  3298.     -e                      # suppress page eject between each procedure listing
  3299.     -f                      # PasMat format compatibility mode
  3300.     -i pathname,…           # search for includes or USES in directory,…
  3301.     -l n                    # process only to max nesting level n
  3302.     -m                      # generate MPW Mark commands for procedure and function declarations
  3303.     -mc68020                # source contains {$IFC OPTION(MC68020)} directives
  3304.     -mc68881                # source contains {$IFC OPTION(MC68881)} directives
  3305.     -n                      # suppress line number and level information
  3306.     -o                      # source file is an Object Pascal program
  3307.     -p                      # write progress information to diagnostics
  3308.     -u                      # process USES declarations
  3309.  
  3310. -
  3311. Project         # set or write the current project
  3312. Project [-q | projectName]  > project
  3313.     -q                      # don't quote projects with special characters
  3314.  
  3315. -
  3316. ProjectInfo     # display information about a Project
  3317. ProjectInfo [-project project] [-log] [-comments] [-latest] [-f] [-r] [-s] [-only | -m]
  3318.             [-af author | -a author] [-df dates | -d dates] [-cf pattern | -c pattern]
  3319.             [-t pattern] [-n name] [-newer | -update] [file…]
  3320.     -a author               # only list revisions created by author
  3321.     -af author              # only list files created by author
  3322.     -c pattern              # only list revisions whose comment contains pattern
  3323.     -cf pattern             # only list files whose comment contains pattern
  3324.     -comments               # list comments along with the rest of the information
  3325.     -d dates                # only list revisions whose create date is within dates
  3326.     -df dates               # only list files whose mod date is within dates
  3327.     -f                      # list file information
  3328.     -log                    # print project log
  3329.     -m                      # only list files/revisions that are checked out
  3330.     -newer                  # info on files that would be checked out using this option
  3331.     -only                   # only list project information
  3332.     -project project        # name of project to get information on
  3333.     -r                      # recursively list subprojects
  3334.     -latest                 # only list info on the latest revision on the main trunk
  3335.     -s                      # short listing, names and revision names only
  3336.     -t pattern              # only list revisions whose task contains pattern
  3337.     -n name                 # only list revisions that have name
  3338.     -update                 # info on files that would be checked out using this option
  3339.     
  3340.     Note: pattern is either a literal string or /regular expression/.
  3341.     
  3342.     Note: "dates" may take the following forms:
  3343.         date                # on date
  3344.         <date               # before but not including date
  3345.         ≤date               # before and including date
  3346.         >date               # after and not including date
  3347.         ≥date               # after and including date
  3348.         date-date           # between and including dates
  3349.         
  3350.     Note:  A date is mm/dd/[yy]yy [[hh:mm[:ss]] [AM|PM]]
  3351.           ([yy]yy < 100 assumes 20th century, e.g. 19yy)
  3352.     
  3353.     Note: "name" may take the following forms:
  3354.         name                # in name
  3355.         <name               # before name
  3356.         ≤name               # before and including name
  3357.         >name               # after name
  3358.         ≥name               # after and including name
  3359.  
  3360. -
  3361. Quit            # quit MPW
  3362. Quit [-y | -n | -c]
  3363.     -y                      # save all modified windows (avoids dialog)
  3364.     -n                      # do not save any modified windows (avoids dialog)
  3365.     -c                      # cancel if a window needs to be saved (avoids dialog)
  3366.  
  3367. -
  3368. Quote           # echo parameters, quoting if needed
  3369. Quote [-n] [parameter…]  > parameters
  3370.     -n                      # don't write return following the parameters
  3371.  
  3372. -
  3373. Redo            # reverse previous Undo series (if {AllowMultipleUndo} = 1)
  3374.  
  3375. -
  3376. Rename          # rename files and directories
  3377. Rename [-y | -n | -c] oldName newName
  3378.     -resolve                # resolve leaf aliases in oldName
  3379.     -y                      # overwrite existing file (avoids dialog)
  3380.     -n                      # don't overwrite existing file (avoids dialog)
  3381.     -c                      # cancel if conflict occurs (avoids dialog)
  3382.  
  3383. -
  3384. RenameProjectorFile # give Projector file a new name
  3385. RenameProjectorFile [option…] oldName newName   
  3386.     -p                      # write progress information to standard output
  3387.     -u User                 # name of current user
  3388.     -project Project        # name of project that contains the file
  3389.                         
  3390. -
  3391. Replace         # replace the selection
  3392. Replace [-c count] selection replacement [window]
  3393.     -c count                # repeat the replace count times
  3394.  
  3395. -
  3396. Request         # request text from a dialog box
  3397. Request [option…] [message…] < file
  3398.     -q                      # don't set status if user selects cancel
  3399.     -d default              # set default response
  3400.  
  3401. -
  3402. ResEqual        # compare the resources in two files
  3403. ResEqual [option…] File1 File2
  3404.     -attr                   # skip comparison of file attributes
  3405.     -fFlags                 # skip comparison of Finder flags
  3406.     -noResolve              # do not resolve leaf aliases
  3407.     -only type              # compare only resources of this type
  3408.     -p                      # write progress information to diagnostics
  3409.     -rFlags                 # skip comparison of resource attributes
  3410.     -skip type              # skip comparison of resources of this type
  3411.  
  3412. -
  3413. ResolveAlias    # resolve aliases in pathname
  3414. ResolveAlias [option…] pathname > output
  3415.     -q                      # suppress quoting
  3416.     -v                      # include zone and server information in output
  3417.  
  3418. -
  3419. Revert          # revert window to previous saved state
  3420. Revert [-y] [window…]
  3421.     -y                      # revert to old version (without dialog)
  3422.  
  3423. -
  3424. Rez             # resource compiler
  3425. Rez [option…] [file…]  < file ≥ progress
  3426.     -a[ppend]               # merge resource into output resource file
  3427.     -align word | longword  # align resource to word or longword boundaries
  3428.     -c[reator] creator      # set output file creator
  3429.     -d[efine] name[=value]  # equivalent to: #define macro [value]
  3430.     -i[nclude] pathname     # path to search when looking for  #include files
  3431.     -m[odification]         # don't change the output file's modification date
  3432.     -noResolve              # do not resolve any leaf aliases
  3433.     -noResolve include      # do not resolve leaf aliases in include file
  3434.                             #  specifications
  3435.     -noResolve output       # do not resolve leaf aliases in the output file 
  3436.                             #  specification
  3437.     -o file                 # write output to file (default Rez.Out)
  3438.     -ov                     # ok to overwrite protected resources when appending
  3439.     -p                      # write progress information to diagnostics
  3440.     -rd                     # suppress warnings for redeclared types
  3441.     -ro                     # set the mapReadOnly flag in output
  3442.     -script language        # specify the character set (see Note)
  3443.     -s[earch] pathname      # path to search when looking for INCLUDE resources
  3444.     -t[ype] type            # set output file type
  3445.     -u[ndef] name           # equivalent to: #undef name
  3446.  
  3447.     Note: The following languages may be used with the -script option:
  3448.             Roman   (default)
  3449.             Japanese
  3450.             Korean
  3451.             SimpChinese
  3452.             TradChinese
  3453.             
  3454. -
  3455. RezDet          # detect inconsistencies in resources
  3456. RezDet [option…] file…  > dump
  3457.     -b[ig]                  # read resources one at a time, not all at once
  3458.     -d[ump]                 # write -show information, plus headers, lists, etc.
  3459.     -l[ist]                 # write list of resources with minimum information
  3460.     -noResolve              # do not resolve leaf aliases 
  3461.     -q[uiet]                # don't write any output, just set {Status}
  3462.     -r[awdump]              # write -dump information plus contents
  3463.     -s[how]                 # write information about each resource
  3464.     -t[erse]                # suppress messages other than error messages
  3465.     
  3466.     Note: Use at most one of -quiet, -list, -show, -dump, and -rawdump.
  3467.  
  3468. -
  3469. RotatePanes     # make another window pane the active pane
  3470. RotatePanes [-r] [window]
  3471.     -r                      # reverse rotation; make previous pane active
  3472.  
  3473. -
  3474. RotateWindows   # send active (frontmost) window to back
  3475. RotateWindows [-r]
  3476.     -r                      # reverse rotation; bring bottom window to front
  3477.  
  3478. -
  3479. RProj           # send Projector command to SourceServer 
  3480. RProj command
  3481.  
  3482. -
  3483. RShell          # send a command to a "remote" shell
  3484. RShell [ -status | -c id | -k id | [ -f | -b | -r target ] [ -q ] [ command ] ] 
  3485.     -status                 # display information, including transaction id,
  3486.                             #   about pending RShell requests
  3487.     -c id                   # close the files associated with the request whose
  3488.                             #   transaction identifier is id
  3489.     -k id                   # abort the request whose transaction identifier is id
  3490.     -f                      # send the command to the foreground (MPW Shell)
  3491.     -b                      # send the command to the background (ToolServer)
  3492.     -r path                 # send the command to a remote application whose network
  3493.                             #  path is given by path
  3494.     -q                      # quit--if combined with a command, the command
  3495.                             #  is executed first                        
  3496.     command                 # the string to be sent to the target application
  3497.     
  3498. Note: If none of the choices: command, -q, -k, -c, or -status are given, RShell
  3499. will read from standard input.  If none of -f, -b, or -r are given, RShell will 
  3500. display a browser for target selection.
  3501.  
  3502. -
  3503. Save            # save specified windows
  3504. Save [-a | window…]
  3505.     -a                      # save the contents of all windows
  3506.  
  3507. -
  3508. SaveOnClose     # set save behavior when closing windows
  3509. SaveOnClose [-a | -d | -n] [window…]
  3510.     -a                      # always save upon close ("Close -y")
  3511.     -d                      # default behavior for Close
  3512.     -n                      # never save upon close ("Close -n")
  3513.  
  3514.  
  3515. -
  3516. SC              # Symantec C compiler
  3517. SC [option…] [file]
  3518.     -align power            # set alignment within structres
  3519.         | mac68k
  3520.         | byte
  3521.     -ansi off               # ANSI compatability
  3522.         | on
  3523.         | relaxed
  3524.         | strict
  3525.     -auto_import size       # if cfm model, flag data of 'size' bytes as imported
  3526.     -b                      # produce pc relative strings and functions
  3527.     -b2                     # produce pc relative strings and functions, overlay equal strings
  3528.     -b3                     # produce pc relative strings
  3529.     -bigseg                 # generate code for single large segment
  3530.     -char signed            # default sign of chars
  3531.         | unsigned
  3532.         | unsignedX
  3533.     -d name                 # equivalent to: #define name 1
  3534.     -d name=string          # equivalent to: #define name string
  3535.     -dump[c] filename       # save state of C compilation in filename
  3536.     -e                      # if -l is specified, show macro expansions in listing
  3537.     -elems881               # generate MC68881 code for transcendentals (for 68K only)
  3538.     -enum min | int         # set enum size
  3539.     -frames                 # always generate stack frames
  3540.     -i[path][,path]         # search for header files along path
  3541.     -ignorepragma id,…      # ignore #pragmas with the specified #pragma id's
  3542.     -j0|1|2                 # recognize 2 byte Japanese|Chinese, Taiwanese|Korean characters
  3543.     -l filename             # generate a list file
  3544.     -load[c] filename       # load saved C compilation state from filename
  3545.     -mbg on|full|off        # on=full generate MacsBug symbols (default)
  3546.     -mc68020                # generate MC68020 code (for 68K only)
  3547.     -mc68030                # generate MC68030 code (for 68K only)
  3548.     -mc68040                # generate MC68040 code (for 68K only)
  3549.     -mc68881                # generate MC68881 code for arithmetic operations (for 68K only)
  3550.     -model farCode          # generate load-time relocatable 32-bit references for code,
  3551.         | farData           #   data,
  3552.         | far               #   or both (for 68K only)
  3553.     -model nearCode         # generate 16-bit references for code, 
  3554.         | nearData          #   data,
  3555.         | near              #   or both (default)
  3556.     -model cfmseg           # request generation of multi-segment CFM-68K runtime model supporting shared libraries
  3557.     -model cfmflat          # request generation of single segment CFM-68K runtime model supporting shared libraries
  3558.     -nomfmem                # inhibit use of MultiFinder memory
  3559.     -notOnce                # allow multiple copies of header files
  3560.     -o filename|dirname:    # set output file or directory
  3561.     -onefrag                # assume any C++ constructs for CFM-68K runtime model are in the same fragment
  3562.     -opt all                # use all optimizations except space
  3563.         | off               # perform minimal optimizations
  3564.         | none              # perform minimal optimizations
  3565.         | space             # favor space optimizations over time optimizations
  3566.         | time              # favor execution time optimizations over space optimizations
  3567.         | speed             # favor execution time optimizations over space optimizations
  3568.     -p                      # print progress messages
  3569.     -paslinkage             # Pascal linkage option
  3570.     -prefix pathname        # #include the specified file(s) prior to reading the first source file.
  3571.                [,pathname…] #
  3572.     -proto strict | auto    # strict prototyping
  3573.     -s[eg] segname          # assign code to segment (for 68K only)
  3574.     -sym off                # no symbolic records
  3575.     -sym on|full            # full symbolic records
  3576.         [,notypes]          #   omit type information
  3577.         [,nolines]          #   omit source line information
  3578.         [,novars]           #   omit variable information
  3579.         [,alltypes]         #   include ALL type information
  3580.     -trace on               # generate tracing code--calls to %_EP and %_BP
  3581.     -trace off              # generate no tracing code (default)
  3582.     -trace always           # always generate tracing code--calls to %_EP and %_BP
  3583.     -trace never            # never generate tracing code (default)
  3584.     -typecheck strict       # perform strict type checking (default).
  3585.     -typecheck relaxed      # perform relaxed type checking
  3586.     -u                      # suppress predefined non-ANSI macros
  3587.     -w on                   # print all warnings (default)
  3588.         | off               # don't print warnings
  3589.         | [is]err[or]       # warnings are treated as errors
  3590.         | #[,#...]          # don't print warning #N
  3591.     -x                      # continue past error limit
  3592.         
  3593. -
  3594. SCpp            # Symantec C++ compiler
  3595. SCpp [option…] [file]       #
  3596.     -align power            # set alignment within structres
  3597.         | mac68k
  3598.         | byte
  3599.     -ansi off               # ANSI compatability
  3600.         | on
  3601.         | relaxed
  3602.         | strict
  3603.     -auto_import size       # if cfm model, flag data of 'size' bytes as imported
  3604.     -b                      # produce pc relative strings and functions
  3605.     -b2                     # produce pc relative strings and functions, overlay equal strings
  3606.     -b3                     # produce pc relative strings
  3607.     -bigseg                 # generate code for single large segment
  3608.     -bool on                # enable C++ 'bool', 'true', and 'false' as standard keywords 
  3609.     -bool off               # 'bool', 'true', 'false' are normal identifiers (default)
  3610.     -char signed            # default sign of chars
  3611.         | unsigned
  3612.         | unsignedX
  3613.     -d name                 # equivalent to: #define name 1
  3614.     -d name=string          # equivalent to: #define name string
  3615.     -dump[c] filename       # save state of C++ compilation in filename
  3616.     -e                      # if -l is specified, show macro expansions in listing
  3617.     -EH                     # enable exception handling (same as -exceptions on) 
  3618.     -elems881               # generate MC68881 code for transcendentals (for 68K only)
  3619.     -enum min | int         # set enum size
  3620.     -ER                     # enable run-time type identification (RTTI, same as -rtti on)
  3621.     -exceptions on | off    # enable/disable exception handling (default off)
  3622.     -frames                 # always generate stack frames
  3623.     -i[path][,path]         # search for header files along path
  3624.     -ignorepragma id,…      # ignore #pragmas with the specified #pragma id's
  3625.     -inline all             # functions are inlined wherever possible, regardless of cost 
  3626.     -inline on              # functions are inlined as defined in the C++ source (default) 
  3627.     -inline none | off      # inlining of C++ function expansions will be suppressed
  3628.     -ir pathname[,…]        # recursively search for include files in directory specified by pathname
  3629.     -j0|1|2                 # recognize 2 byte Japanese|Chinese, Taiwanese|Korean characters
  3630.     -l filename             # generate a list file
  3631.     -load[c] filename       # load saved C++ compilation state from filename
  3632.     -mbg on|full|off        # on=full generate MacsBug symbols (default)
  3633.     -mc68020                # generate MC68020 code (for 68K only)
  3634.     -mc68030                # generate MC68030 code (for 68K only)
  3635.     -mc68040                # generate MC68040 code (for 68K only)
  3636.     -mc68881                # generate MC68881 code for arithmetic operations (for 68K only)
  3637.     -model farCode          # generate load-time relocatable 32-bit references for code,
  3638.         | farData           #   data,
  3639.         | far               #   or both (for 68K only)
  3640.     -model nearCode         # generate 16-bit references for code, 
  3641.         | nearData          #   data,
  3642.         | near              #   or both (default)
  3643.     -model cfmseg           # request generation of multi-segment CFM-68K runtime model supporting shared libraries
  3644.     -model cfmflat          # request generation of single segment CFM-68K runtime model supporting shared libraries
  3645.     -nomfmem                # inhibit use of MultiFinder memory
  3646.     -notonce                # allow multiple copies of header files
  3647.     -o filename|dirname:    # set output file or directory
  3648.     -onefrag                # assume any C++ constructs for CFM-68K runtime model are in the same fragment
  3649.     -opt all                # use all optimizations except space
  3650.         |off                # perform minimal optimizations
  3651.         |none               # perform minimal optimizations
  3652.         |space              # favor space optimizations over time optimizations
  3653.         |time               # favor execution time optimizations over space optimizations
  3654.         |speed              # favor execution time optimizations over space optimizations
  3655.     -p                      # print progress messages
  3656.     -paslinkage             # Pascal linkage option
  3657.     -prefix pathname        # #include the specified file(s) prior to reading the first source file.
  3658.                [,pathname…] #
  3659.     -rtti on | off          # enable/disable run-time type information (RTTI, default off)
  3660.     -s[eg] segname          # assign code to segment (for 68K only)
  3661.     -som                    # enable direct-to-SOM
  3662.     -sym off                # no symbolic records
  3663.     -sym on|full            # full symbolic records
  3664.         [,notypes]          #   omit type information
  3665.         [,nolines]          #   omit source line information
  3666.         [,novars]           #   omit variable information
  3667.         [,alltypes]         #   include ALL type information
  3668.     -trace on               # generate tracing code--calls to %_EP and %_BP
  3669.     -trace off              # generate no tracing code (default)
  3670.     -trace always           # always generate tracing code--calls to %_EP and %_BP
  3671.     -trace never            # never generate tracing code (default)
  3672.     -u                      # suppress predefined non-ANSI macros
  3673.     -w on                   # print all warnings (default)
  3674.         | off               # don't print warnings
  3675.         | [is]err[or]       # warnings are treated as errors
  3676.         | #[,#...]          # don't print warning #N
  3677.     -x                      # continue past error limit
  3678.     -xa templatespec        # instantiate a template with arguments
  3679.     -xi p[ublic]            # instantiate templates in this file with public access
  3680.         | s[tatic]          # expanded templates in this file have static scope
  3681.         | e[xtern]          # templates are accessed externally and are assumed expanded in another file
  3682.  
  3683. -
  3684. SCpre           # Pre-process C/C++ source generating input to a Symantec compiler
  3685. SCpre [option…] [file]      #
  3686.     -c                      # Pre-process as a C compilation rather than C++
  3687.     -d name                 # equivalent to: #define name 1
  3688.     -d name=string          # equivalent to: #define name string
  3689.     -i[path][,path]         # search for header files along path
  3690.     -j0|1|2                 # Recognizing Multi-byte Asian Character
  3691.     -nomfmem                # Inhibit Use of Multi-finder Memory
  3692.     -notonce                # allow multiple copies of header files
  3693.     -o filename|dirname:    # set output file or directory
  3694.     -p                      # print progress messages
  3695.     -u                      # suppress predefined non-ANSI macros
  3696.  
  3697. -
  3698. Search          # search files for pattern
  3699. Search pattern [file…] [option…] < file > found
  3700.     -b                      # break "File/Line" from matched pattern
  3701.     -e pattern              # search for pattern (allows pattern to be specified last)
  3702.     -exclude file|directory # skip the specified file (or directory if -rd specified)
  3703.     -f file                 # lines not written to output are put in this file
  3704.     -fb                     # flush the output buffer after every match
  3705.     -i                      # case insensitive search (overriding {CaseSensitive})
  3706.     -nf                     # write error message if pattern not found
  3707.     -ns                     # return status code of 0 if pattern not found
  3708.     -p                      # write progress information to diagnostic output
  3709.     -pv                     # verbose progress information
  3710.     -q                      # suppress file name and line number in output
  3711.     -r                      # write non-matching lines to standard output
  3712.     -rd                     # recursive search
  3713.     -s                      # case sensitive search (overriding {CaseSensitive})
  3714.     -sf                     # stop at first match
  3715.     -skipAlias              # skip aliases
  3716.     -t type                 # only search files with specified file type
  3717.     -w                      # suppress warning messages
  3718.     -word                   # search for whole words only
  3719.  
  3720. -
  3721. SendAE          # Send Apple Event to application
  3722. SendAE [option…] [Apple Event Parameters…]
  3723.     -do                     # only output the direct object
  3724.     -dot                    # same as -do, output as text
  3725.     -e classAndID           # 8 characters to denote event class and id
  3726.     -hiprio                 # high priority message, default is AENormalPriority
  3727.     -m sendMode             # default: kAEWaitReply
  3728.     -rid returnID           # default: kAutoGenerateReturnID
  3729.     -t [zone:server:]target # target application, default: "{AETargetID}"
  3730.     -tid transactionID      # default: kAnyTransactionID
  3731.     -timeout ticks          # time out in ticks, default: kAEDefaultTimeout
  3732.     -u userName             # default user name from Sharing Setup panel
  3733.     
  3734.     Apple Event Parameters:
  3735.         -xxxx data          # parameter in AEBuild format, xxxx is the keyword
  3736.         -xxxxyyyy data      # parameter in yyyy format, xxxx is the keyword
  3737.         -@xxxx data         # attribute in AEBuild format, xxxx is the keyword
  3738.         -@xxxxyyyy data     # attribute in yyyy format, xxxx is the keyword
  3739.     
  3740.     yyyy=file: data is a filename; read the data from that file
  3741.     yyyy=alis: data is a filename list; the data becomes a list of aliases to those files
  3742.     
  3743. -
  3744. Set             # define or write Shell variables
  3745. Set [-e] [name [value]]  > variableList
  3746.     -e                      # export the variable after setting it
  3747.  
  3748. -
  3749. SetDirectory    # set the default directory
  3750. SetDirectory directory
  3751.  
  3752. -
  3753. SetFile         # set file/folder attributes
  3754. SetFile [option…] file/folder…
  3755.     -a attributes           # attributes (lowercase = 0, uppercase = 1)*
  3756.     -c creator              # file creator
  3757.     -comments text          # put "text" in the "Get Info" comments field
  3758.     -d date                 # creation date (mm/dd/[yy]yy [hh:mm[:ss] [AM | PM]])*
  3759.     -l h,v                  # ICON location (horizontal,vertical)*
  3760.     -label label            # set Finder label value; label can be 0-7 or label name
  3761.     -m date                 # modification date (mm/dd/[yy]yy [hh:mm[:ss] [AM | PM]])*
  3762.     -noResolve              # don't resolve aliases on the input file path
  3763.     -t type                 # file type
  3764.  
  3765.     Note: Period (.) represents the current date and time.
  3766.           
  3767.     Note: [yy]yy < 100 assumes 20th century, e.g. 19yy
  3768.  
  3769.     Note: date is specified using currently selected format in Date & Time Control Panel,
  3770.           or MPW uniform format (yyyy◊mm◊dd hh:mm:ss). See help for "Date"
  3771.  
  3772.     Note: The following attributes may be used with the -a option:
  3773.              A   Alias file
  3774.              V   Invisible*
  3775.              B   Bundle
  3776.              S   System (name locked)
  3777.              T   Stationary
  3778.              C   Custom icon*
  3779.              L   Locked
  3780.              I   Inited*
  3781.              N   No INIT resources
  3782.              M   Shared (can run multiple times)
  3783.              W   Always switch launch (if possible)
  3784.              D   Desktop*
  3785.  
  3786.     Note: Options/attributes marked with an asterisk (*) are allowed with folders
  3787.  
  3788. -
  3789. SetKey          # define or write key bindings
  3790. SetKey  <empty> | -r | [modifierkey-]…key[-modifierkey-]…key] [string]
  3791.         modifierkey = command | option | shift | control
  3792.     -r                      # revert to the default key assignments
  3793.         
  3794. -
  3795. SetPrivilege    # set access privileges for directories on file servers
  3796. SetPrivilege [option…] directory…  > information
  3797.     -d privileges           # set privileges for seeing directories
  3798.     -f privileges           # set privileges for seeing files
  3799.     -g group                # make the directories belong to group
  3800.     -i                      # return information on directories
  3801.     -m privileges           # set privileges for making changes
  3802.     -o owner                # make owner the owner of directories
  3803.     -r                      # operate (set or list) recursively
  3804.  
  3805.     Note: The following privilege characters may be used with
  3806.     the -d, -f, or -m options (Upper case enables the privilege,
  3807.     lower case disables it):
  3808.          O   Owner
  3809.          G   Group
  3810.          E   Everyone
  3811.  
  3812. -
  3813. SetShellSize    # set the shell's stack and Process Manager partition sizes
  3814. SetShellSize [option…]
  3815.     -f ShellFileName        # specify pathname of MPW Shell to modify
  3816.                             # if omitted, sets sizes of currently executing shell
  3817.     -s StackSize[k]         # set stack size in bytes or (with 'k' suffix) kilobytes
  3818.     -p PartitionSize[k]     # set partition size in bytes or (with 'k' suffix) kilobytes
  3819.                                         
  3820.     If neither -p or -s options are supplied, the tool displays the current settings.
  3821.     
  3822. -
  3823. SetVersion      # maintain version and revision number
  3824. SetVersion [option…] file  > output ≥ progress
  3825.     -b                      # increment the bug fix component by 1
  3826.     -country name           # country code name
  3827.     -csource file           # update the #define Version string in C source
  3828.     -d                      # display (updated) version numbers to standard output
  3829.     -fmt nƒ.mƒ              # format version numbers according to specification
  3830.     -i resid                # use specified resource id instead of 0
  3831.     -noResolve              # do not resolve leaf aliases in "file"
  3832.     -p                      # write SetVersion's version info to diagnostic file
  3833.     -prefix prefix          # prefix version with specified prefix
  3834.     -[p]source file         # update the Version string constant in Pascal source
  3835.     -r                      # increment the revision component by 1
  3836.     -rezsource file         # update the resource definition in Rez source
  3837.     -sb bugfix              # set the bug fix component to the specified value
  3838.     -sr revision            # set the revision component to the specified value
  3839.     -stage stage            # set release stage for a 'vers' resource
  3840.     -suffix suffix          # suffix the version with specified suffix
  3841.     -sv version             # set the version component to the specified value
  3842.     -sx nonrel              # set the non-release component to the specified value
  3843.     -sync 1 | 2             # synchronize 'vers',1 with 'vers',2 or vice versa
  3844.     -t type                 # use specified resource type
  3845.     -v                      # increment the version component by 1
  3846.     -verid identifier       # use C/Pascal source version id instead of "Version"
  3847.     -version fmtstring      # alternate way of specifying version component actions
  3848.     -verstring longstring   # set the long version string of a Finder 'vers' resource
  3849.     -x                      # increment the non-release component by 1
  3850.  
  3851. -
  3852. Shift           # renumber command file positional parameters
  3853. Shift [number]
  3854.  
  3855. -
  3856. shlb2stub       # create a stub ('stub') library from a shared ('shlb') library
  3857. shlb2stub [option…] shlbFile ≥ progress
  3858.    -o fileName             # set output file name (default: <shlbFile>.stub)
  3859.    -p                      # write progress information to diagnostics
  3860.  
  3861. -
  3862. ShowSelection   # place the selection within an editor window
  3863. ShowSelection [-t | -b | -c | -n lines | -l line] [window]
  3864.     -t                      # place first line of selection at top of window
  3865.     -b                      # place first line of selection at bottom of window
  3866.     -c                      # center the first line within the window
  3867.     -n lines                # place first line of selection lines from the top
  3868.     -l line                 # place line at the top of window
  3869.  
  3870. -
  3871. ShowWindows     # make previous hidden windows visible
  3872. ShowWindows window…
  3873.  
  3874. -
  3875. Shutdown        # power down or restart the machine
  3876. Shutdown [-y | -n | -c] [-r]
  3877.     -y                      # save all modified windows (avoids dialog)
  3878.     -n                      # do not save any modified windows (avoids dialog)
  3879.     -c                      # cancel if a window needs to be saved (avoids dialog)
  3880.     -r                      # restart the machine
  3881.  
  3882. -
  3883. SizeWindow      # set a window's size
  3884. SizeWindow  [h v] [window]
  3885.     h                       # window width (horizontal)
  3886.     v                       # window height (vertical)
  3887.  
  3888. -
  3889. SOMC            # SOM idl compiler
  3890. SOMC [option…] sources.idl… ≥ progress
  3891.     -D define               # defines macro for #ifdef processing
  3892.     -D define=value         # defines macro with a value
  3893.     -e namelist             # runs backend emitters in comma separated name list
  3894.                             # emitters for C are c,h,ih,exp
  3895.                             # emitters for C++ are xc,xh,xih,exp
  3896.     -keeptm                 # keeps temporary intermediate files
  3897.     -I folder               # search for .idl include files in "folder"
  3898.     -m name                 # turns option "name" on
  3899.     -m chkexcept            # specifies the inclusion of exception result 
  3900.                             #   checking during generation of C++ .xh class 
  3901.                             #   bindings. This mechanism can be used to introduce an 
  3902.                             #   automatic “throw” or error handler of some sort, 
  3903.                             #   removing the need to manually check exc
  3904.     -m cplusc               # use .C for C++ file suffix
  3905.     -m cpluscpp             # use .cpp for C++ file suffix
  3906.     -m notexported          # turns CFM68K pragma generation off
  3907.     -o outdir               # specifies the output directory for emitted files.
  3908.                             # (note that this does not specify the output file itself.)
  3909.     -other option           # passes "option" thru to the back end
  3910.     -p                      # keep private info (sets macro __PRIVATE__ to 1)
  3911.     -r                      # checks for undefined names in the release order statement
  3912.     -v                      # uses verbose mode
  3913.     -w                      # turns warnings off
  3914.  
  3915. -
  3916. SOMpdl                      # sanitize .idl file(s) for public consuption
  3917. SOMpdl [option…] sources.idl…
  3918.     -d folder               # specifies folder for output files
  3919.  
  3920. -
  3921. Sort            # sort or merge lines of text
  3922. Sort [option…] [files…]
  3923.     -b                      # skip leading blanks of each field
  3924.     -check                  # check if input is sorted (exit code 5 if not).
  3925.     -d                      # sort fields as decimal numbers
  3926.     -f field[,field]        # specify fields to sort on (see below)
  3927.     -fs string              # specify field separator characters
  3928.     -l                      # convert to lowercase before comparison
  3929.     -merge                  # merge pre-sorted input files
  3930.     -o file                 # specify output file, allows sorting-in-place
  3931.     -p                      # print version and progress information
  3932.     -quote                  # handle fields with quotes
  3933.     -stdin                  # place-holder for standard input (acts like a file)
  3934.     -r                      # reverse order of comparison
  3935.     -t                      # sort fields as text (default)
  3936.     -u                      # convert to uppercase before comparison
  3937.     -unique                 # write only unique output lines
  3938.     -x                      # sort fields as hexadecimal numbers (leading '$'
  3939.                             #   or '0x' is ignored)
  3940.  
  3941.     The comma-separated field specifications (following -f) take the forms:
  3942.     
  3943.             [F][.C][-K][bdlqrtux]
  3944.         or  [F][.C][+N][bdlqrtux]
  3945.  
  3946.     'F' is a field number (0=whole line [default], 1=first word, 2=second word…).
  3947.     'C' is the starting column number (from 1), default=1.
  3948.     'K' is the ending column number >= C, default=infinite.
  3949.     'N' is the maximum number of characters in the field, default=infinite.
  3950.     Only one of '-K' or '+N' can be specified.
  3951.     
  3952.     The local modifier characters 'bdlqrtux' have the same meaning on a
  3953.     per-field basis as -b, -d, -l, -q, -r, -t, -u and -x (which take effect
  3954.     globally).
  3955.  
  3956. -
  3957. StackWindows    # arrange windows diagonally
  3958. StackWindows [-h num] [-v num] [-r top,left,bottom,right] [-i | windows…]
  3959.     -h num                  # horizontal offset between windows
  3960.     -v num                  # vertical offset between windows
  3961.     -r t,l,b,r              # rectangle in which to stack windows
  3962.     -i                      # include the worksheet
  3963.     windows…                # list of windows to tile
  3964.  
  3965. -
  3966. StreamEdit      # scriptable text editor
  3967. StreamEdit [option…] file…
  3968.     -d                      # delete lines (don't copy them)
  3969.     -e statements           # add 'statements' to the script
  3970.     -o file                 # direct output to file in a "safe" manner
  3971.     -p                      # print progress information
  3972.     -s file                 # specify a file containing a script to execute
  3973.     -set variable[=string]  # set the value of a variable
  3974.  
  3975.     A script consists of zero or more of:
  3976.     
  3977.         <address> <command>
  3978.              or
  3979.         <address> -c count <command>
  3980.     
  3981.     The second form specifies that only the first "count" matches will be edited.
  3982.  
  3983.     Addresses take the forms (highest to lowest precedence):
  3984.     
  3985.         ( address )             # override precedence
  3986.         ! address               # match line not matching the address
  3987.         address1 && address2    # match line matching address1 AND address2
  3988.         address1 || address2    # match line matching address1 OR address2
  3989.         address1 , address2     # match address1…address2
  3990.         /regular expression/    # a line that matches the expression
  3991.         •                       # matches BEFORE the first line
  3992.         N                       # matches the Nth line
  3993.         $                       # matches the last line
  3994.         ∞                       # matches AFTER the last line
  3995.  
  3996.     A regular expression starting with 'ç' is case-sensitive.  Any '•' must
  3997.     follow the 'ç'.
  3998.  
  3999.     Commands are:
  4000.     
  4001.         Append <text>           # append text to append buffer
  4002.         Exit [status]           # exit with zero or specified status
  4003.         Change <text>           # set contents of edit buffer
  4004.         Delete                  # clear contents of edit buffer
  4005.         Insert <text>           # append text to insert buffer
  4006.         Next                    # proceed with next line
  4007.         Print <text>            # Print the text
  4008.              [-To file ]        #    directed to the specified file
  4009.              [-AppendTo file]   #    appended to the specified file
  4010.         Replace /pat/ <text>    # do replacement
  4011.                 [-c count]      # specify repeat count (N or ∞)
  4012.         Set variable <text>     # set variable's value
  4013.             [-a]                #    append to variable's current value
  4014.             [-i]                #    insert at front of variable's current value
  4015.         Option AutoDelete       # append "1,$ Delete" to script
  4016.     
  4017.     Where <text> consists of zero or more of:
  4018.     
  4019.         "a string"              # the specified text
  4020.         'a string'              # the specified text
  4021.         .                       # the current line (the edit buffer)
  4022.         variableName            # the contents of the named string variable
  4023.         ®N                      # an "®" variable set by a regular expression
  4024.         -from <filename>        # the next line from the file, where filename
  4025.                                 #    is a string or a variable name
  4026.         -n                      # suppress newline at end
  4027.  
  4028.     If <text> is empty, it defaults to "." (the current line).
  4029.  
  4030. -
  4031. Target          # make a window the target window
  4032. Target [-h] name
  4033.     -h                      # open the window as hidden
  4034.  
  4035. -
  4036. TickCount       # returns current system Tick Count
  4037. TickCount > output
  4038.  
  4039. -
  4040. TileWindows     # arrange windows in a tiled fashion
  4041. TileWindows [-h | -v] [-r top,left,bottom,right] [-i | windows…]
  4042.     -h                      # tile windows horizontally
  4043.     -v                      # tile windows vertically
  4044.     -r t,l,b,r              # rectangle in which to tile windows
  4045.     -i                      # include the worksheet
  4046.     windows…                # list of windows to tile
  4047.  
  4048. -
  4049. TransferCkid    # move Projector information from one file to another
  4050. TransferCkid sourceFile destinationFile 
  4051.  
  4052. -
  4053. Translate       # translate characters
  4054. Translate [option…] src [dst] < file > output ≥ progress
  4055.     -p                      # write progress information to diagnostics
  4056.     -s                      # set font, font size, and tab setting of output
  4057.  
  4058. -
  4059. Unalias         # remove aliases
  4060. Unalias [name…]
  4061.  
  4062. -
  4063. Undo            # undo the last edit (or edits if {AllowMultipleUndo} = 1)
  4064. Undo [window]
  4065.  
  4066. -
  4067. Unexport        # remove variable definitions from the export list
  4068. Unexport [-r | -s | name…]  > unexports
  4069.     -r                      # generate Export commands for all unexported variables
  4070.     -s                      # print the names only
  4071.  
  4072. -
  4073. UnlockNameRevisions   # unlock a symbolic name
  4074. UnlockNameRevisions [-u User] [-project Project] [-password password] [-r]
  4075.         [names… | -a]
  4076.     -u user                 # name of current user
  4077.     -project project        # name of project that contains the symbolic names
  4078.     -password password      # the password for this lock
  4079.     -r                      # recursively unlock names
  4080.     -a                      # all the symbolic names in the project
  4081.  
  4082. -
  4083. Unmangle        # unmangle mangled C++ names
  4084. Unmangle [option…] [signature…]
  4085.     -a[ctive]               # use the current selection in the active window
  4086.     -h[elp]                 # display this help info
  4087.     -t[arget]               # use the current selection in the target window
  4088.     -v[erbose]              # duplicate the output of the old UnmangleTool command
  4089.  
  4090.     Note: Unmangle reads from stdin (one signature per line) if signatures
  4091.           are not supplied in the argument list or via -a or -t.
  4092.  
  4093. -
  4094. Unmark          # remove a marker from a window
  4095. Unmark name… window
  4096.  
  4097. -
  4098. Unmount         # unmount volumes
  4099. Unmount volume…
  4100.  
  4101. -
  4102. UnmountProject  # unmount projects
  4103. UnmountProject -a | Project…
  4104.     -a                      # unmount all mounted projects
  4105.  
  4106. -
  4107. UnobsoleteNameRevisions     # mark a symbolic name not obsolete
  4108. UnobsoleteNameRevisions [-u User] [-project Project] [-r] [names… | -a]
  4109.     -u user                 # name of current user
  4110.     -project project        # name of project that contains the symbolic names
  4111.     -r                      # recursively unobsolete names
  4112.     -a                      # all the symbolic names in the project
  4113.  
  4114. -
  4115. UnObsoleteProjectorFile # make an inactive Projector file active again
  4116. UnObsoleteProjectorFile [option…] file… 
  4117.     -p                      # write progress information to standard output
  4118.     -u User                 # name of current user
  4119.     -project Project        # name of project that contains the files
  4120.                         
  4121. -
  4122. Unset           # remove Shell variable definitions
  4123. Unset [name…]
  4124.  
  4125. -
  4126. UnsetKey        #remove key bindings
  4127. UnsetKey    [modifierkey-]…key[-modifierkey-]…key]
  4128.             modifierkey = command | option | shift | control
  4129.  
  4130. -
  4131. UpdateProjectorDatabase     # update Projector database to latest version
  4132. UpdateProjectorDatabase [option…] project
  4133.     -p                      # write progress information to standard output
  4134.     -r                      # recursively update Projector databases
  4135.     -y                      # answer yes to all dialogs (avoids dialogs)
  4136.  
  4137. -
  4138. UserVariables   # uses Commando to set all the user variables
  4139. UserVariables
  4140.  
  4141. -
  4142. Version         # print the version of the MPW Shell
  4143. Version
  4144.     -v                      # produce verbose output
  4145. -
  4146. VersionList     # print version info from files 
  4147. VersionList [option…] [file…]  > versionsReport
  4148.     -all                    # print version info for all files in directory
  4149.     -c creator              # report on files that have the named file creator. 
  4150.                             #   Default is 'MPS '
  4151.     -d                      # include modification date in report
  4152.     -h                      # suppress the report header and footer
  4153.     -l                      # don't truncate very long file names
  4154.     -newer date             # report on files whose modification date is 
  4155.                             #   newer than date
  4156.     -noResolve              # do not resolve file aliases 
  4157.     -older date             # report on files whose modification date is 
  4158.                             #   older than date
  4159.     -p                      # write progress information to diagnostic output
  4160.     -r                      # recursively search subdirectories
  4161.     -raw                    # suppress all formatting.  Print tab-delimited columns
  4162.     -t type                 # report on files that have the named file type. 
  4163.                             #   Default is 'MPST'
  4164.     -u path                 # start search at <path>. Default is {MPW}Tools:
  4165.     -v                      # include 'vers' 2 resource info in report
  4166.     
  4167. -
  4168. Volumes         # list mounted volumes
  4169. Volumes [option…] [volume…] > volumeList
  4170.     -l                      # long format (name, drive, size, free, files, dirs)
  4171.     -q                      # don't quote volume names with special characters
  4172.     -local                  # list only local volumes
  4173.     -server                 # list only server volumes
  4174.  
  4175. -
  4176. WhereIs         # find the location of a file
  4177. WhereIs [option…] pattern…
  4178.     -c                      # completely match filepattern
  4179.     -d                      # include directories
  4180.     -resolve                # if file is an alias, resolve and show path to target
  4181.     -v                      # verbose output - put summary line at end
  4182.     -x                      # don't use PBCatSearch system call (sometimes slower)
  4183.     -s directory            # starting directory/volume for search
  4184.  
  4185. -
  4186. Which           # determine which file the shell will execute
  4187. Which [option…] [name]  > file ≥ progress
  4188.     -a                      # report all commands named "name"
  4189.     -p                      # writes progress information to diagnostics
  4190.  
  4191. -
  4192. Windows         # list windows
  4193. Windows [option…]
  4194.     -q                      # don't quote window names with special characters
  4195.     -o                      # list "Open" command lines for execution
  4196.     -h                      # list only hidden windows
  4197.     -v                      # list only visible windows
  4198.     -clean                  # list only "clean" windows
  4199.     -dirty                  # list only "dirty" windows
  4200.     -e                      # exclude the Worksheet window                     
  4201.      
  4202. -
  4203. ZoomWindow      # enlarge or reduce a window's size
  4204. ZoomWindow [-b | -s] [window]
  4205.     -b                      # zoom to full screen (big)
  4206.     -s                      # zoom back to regular size (small)
  4207.